11-01-2005 01:58 PM
11-02-2005 08:00 PM
11-04-2005 10:47 AM
01-26-2006 01:07 PM
01-27-2006 11:40 AM
Hello Munir,
01-27-2006 12:31 PM
01-30-2006 04:55 PM
Hello Munir,
The screenshots you posted really helped me understand what the problem is - thanks!
In the program you are using the box that allows you to browse for channels only allows you to browse for physical channels (Dev1/ctr0) which are different than global channels that you create in MAX. The block diagram of your program takes the physical channel you are using as an input to the DAQmx Create Channel VI and creates a task that uses this channel.
The way it is set up, you can specify the physical channels on your remote system. The picture you attached shows me that you are currently referencing the PCI-6259 you simulated in MAX. If you want to use the actual PXI-6259 in your system, you would reference it using "PXI1Slot2/ctr0".
However, if you prefer to use the global channel you created in MAX, delete the DAQmx Create Channel VI and wire a DAQmx Global Channel constant from the DAQmx Constants & Property Nodes palette to the task/channels in terminal. Since you have already created the channel in MAX, you do not need to do it a second time with that VI.
You can ignore the question that is confusing you. It has to do with using LabVIEW 7.1 rather than 8.0.
Please let me know if you have questions about all of this.
Laura
01-31-2006 02:11 PM
02-01-2006 12:06 PM
Hello Munir,
In order to browse to the Global Channel you created for your remote system, you must be targeted to the RT controller. In LabVIEW 8, the way to do this is by using the new LabVIEW Project Window. You first add a new target by right-clicking on My Computer and choosing New >> Targets and Devices. You need to know the IP address of your RT controller to do this. There is a great flash animation about how to do all of this named LabVIEW Project Demonstration at www.ni.com/realtime/software under featured resources. Watching this will be much easier than me trying to type out all of the instructions.
After you have added your RT controller to the project window, you add a VI to that target that you want to run. As long as the VI with the global channel constant is added to the correct target, you will be able to browse to the channels that you have created.
Please try this and let us know how it goes.
Thanks,
Laura
02-01-2006 01:19 PM
Hi Munir,
On an additional note, you may need to check the VISA security options to be sure that your host computer has permission to access the RT controller. To do this, go to Remote Systems in MAX and expand the software folder for your RT system. Click on NI-VISA and then choose the VISA Options tab. Choose security and make sure that the IP address of the computer you are using is in the Remote Access List, or an asterisk (*) is in this list to give permission to all IP addresses.
Laura