Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Why can MAX get all the information on DAQ cards in a remote PC but LabView can't?

Hi.
I'm running LV 6.0.2 and the latest version of NI DAQ, with MAX 2.0.
I've got 3 DAQ cards in my local PC and one in a remote PC I'm accessing over the network. If I fire up MAX I can see all the cards and their info fine. However from LabView only the information on the local cards is available (Scaling, Units, description etc), even though the channel itself is available from the DAQ Channel Select control.
This is carried over to the running of the channels. I can run the remote channels and aquire data by calling them using good old fasioned
Device Number : Channel Number
But not when using their MAX aliases. Which means I'm getting raw voltage data rather t
han scaled units - which is pain, especially when I've gone to the trouble of adding them into MAX.

Am I missing a trick here or is LV just not fully up to handling all the MAX information yet?

Thanks for your time,
Tom
0 Kudos
Message 1 of 3
(3,193 Views)
Tom,

The latest version of NI-DAQ right now is NI-DAQ 6.9.1, which comes with MAX 2.1. If you don't have that, you can download it from the http://www.ni.com/download pages. If you are upgrading from a previous version, make sure to completely uninstall the previous version (NI-DAQ and MAX) before installing the new one.

Once NI-DAQ is properly installed and your RDA boards and virtual channels are set up, you can use them in LabVIEW. When making calls to a remote board via RDA the input REQUIRES the correct device number in order to execute. It's allowed for the local computer to have a channel with the same name as a remote channel. Thus, by design, the user must enter the device number of the remote device when using its channels.

This is related to Kno
wledgeBase 1N9BFOHQ: "Error -10001 When Using Virtual Channel and Remote Device Access (RDA)". You can find this entry when you go to the http://www.ni.com/support page and choose KnowledgeBase from the Technical Resources pulldown menu. Then, type in search keywords, such as "virtual channel and RDA".

So, the trick is to just add that device number, and then you can read the scaled values!

Regards,
Geneva L.
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 3
(3,193 Views)
Your comment about needing the Device Number is correct. However, you need to know the channel names
before hand. One of Tom's issues (as well as mine) is
not being able to fetch the channel names.

If you run the VI, 'Get DAQ Channel Names.vi' the RDA
channels will not be returned.

Do you know a way around this? Obviously it can be done - the 'DAQ Channel Name' control can find it.

Fred
0 Kudos
Message 3 of 3
(3,193 Views)