03-07-2010 11:00 PM
I have next target: I want to share different DAQmx devices, like NI ELVIS, NI USB for many students. It is free educational project.
I tried to read how can I do it and now I'm really confused. I need to make it in the way like it was with RDA. I mean I don't want to share single channels. I need to share devices, like there are on the students PC, and students can create VIs with tasks without special code, like they have these devices on their local computers.
I have read already about OPC with shared variables, but as I understood, in such way I can open only single channels and VI code need to be special to access these channels. If I'm wrong pleas improve me.
Also I have read about using Real Time, for remote devices sharing. But really didn't get this idea, and how can I make it.
I tried to share devices by using the VISA server, but I could open only my host computer ports, nothing about DAQ devices. And in this way, as I understood, VI code will be special. If I'm wrong pleas improve me.
Can anybody show me the way, how can I share my devices for public using?
Thanks for you a lot!!
03-08-2010 09:59 AM
Hello Dmitry,
Currently, there is no functionality similar to RDA in Traditional NI-DAQ in the current NI-DAQmx driver. This is because allowing kernel level access to a device over a network is very, very difficult to do given the current state of network security. Back when Traditional NI-DAQ was created, the threat of attacks over a network was significantly less now and as a result, operating systems were more permissive with access to the kernel level of the operating system. This isn't the case anymore, as a virus with kernel level access could be very bad.
Unfortunately, for our USB devices and for NI ELVIS, there isn't a solution that doesn't involve using something like VI Server to communicate between a VI on the machine with the device and the students machine. This will result in a level of abstraction. Essentially, you'll need a VI on the machine with the hardware that actually acquires data from the device and you'll need to transfer that information back to the student's PC.
Regards,
03-08-2010 11:26 AM
Thanks a lot for information!
On te NI web site so much information, that find something that I need is really hard.
Can I ask you to give me any link for information about this VI server... is it about Real Time? I mean some infromation, like step by step.. how to create such server?
03-08-2010 12:47 PM
VI Server is the ActiveX interface to LabVIEW. Open help and the pretty obvious topic is 'VI Server'. How did you jump from control of remote DAQ devices to VI Server? VI Server permits you to control one VI by another. Or are you confused and asking about VISA Server? That won't help you either since none of the DAQ devices are controlled by VISA.
03-08-2010 09:42 PM