01-20-2006 08:23 AM
01-20-2006 08:26 AM
01-20-2006 04:34 PM
Hi Munir,
I see that you are using a real-time system. This is how you are able to modify the device on the host computer from MAX on the client computer and will make running your application much simpler. All you need to do is connect to the Real-Time target system when you open LabVIEW and then you can run the analog output examples from the example finder and it will update on that system. More information about using a real-time system can be found in the Real-Time User Manual. You will not have to worry about shared variables now since you are using real-time.
01-23-2006 10:14 AM
01-24-2006 01:18 PM
Hi Munir,
You will not need to use shared variables or OPC for your application since you have a real-time system. I was not aware that you had a real-time system until I saw your MAX screenshot. A good example for continuously outputting a waveform is Cont Gen Voltage Wfm Int-Clk. Go to Help >> Find Examples >> Hardware Input and Output >> DAQmx >> Analog Generation >> Voltage. The Real-Time Help Manual should help you set everything up and configure your system. Please let me know if you have any problems with this.
Regards,
Hal L.
01-25-2006 04:04 AM
01-25-2006 05:53 PM
Hi Munir,
The simplest way to transfer data between your host computer (your windows desktop system) and your target controller (your PXI RT controller) is by using shared variables. Once you have transfered the data from your host to your controller, you can deal with the data any way you want to. The link below gives more information on the new features of LabVIEW RT 8.0. The 3rd link (Simplify Real-Time Communication with the LabVIEW Shared Variable) walks you through creating shared variables and using them transfer data. http://www.ni.com/realtime/features_and_related_products.htm
Regards,
Prashanth
01-26-2006 03:08 AM
01-26-2006 01:14 PM
01-27-2006 12:53 PM
Hi Munir,
If I understand correctly, what you want to do is programmatically select your DAQmx channels to send data to. You can accomplish this by using DAQmx Task constant or DAQmx Task constant in the block diagram code. The programmatic control of DAQmx channels and tasks will be the same as in windows. http://ae.natinst.com/operations/ae/public.nsf/web/searchinternal/3a1d9e4a6ca8eca586256fc000768694?O...
Regards,
Prashanth