Get Relay Position Hardware: Switches
Problem: How can I obtain position for a relay of a switch module? Solution: In LabVIEW, you can obtain the relay position using niSwitch Get Relay Position.vi from the NI-SWITCH API or DAQmx Switch Get Relay Position.vi from the NI-DAQmx API. NI-SWITCH ViStatus niSwitch_GetRelayPosition (ViSession vi, ViConstString relayName, ViInt32* relayPosition);NI DAQmx int32 DAQmxSwitchGetMultiRelayPos (const char relayList[], uInt32 relayPos[], uInt32 relayPosArraySize, uInt32 *numRelayPosRead);Related Links: Product Manuals: NI-DAQmx Help Product Manuals: NI Switches Help Attachments:
Report Date: 03/14/2005 Last Updated: 03/14/2005 Document ID: 3JD7PDLE |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
