LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to AO channel in MAX but not in LabVIEW

Dear all,

I can see an analog output channel in MAX, on an SCXI card (connected to the PC by a "PCI 6035"). I can even write to this channel from MAX. However, when I open labview, the channel doesn't appear on the pull-down menu for channel names to connect to any daq VI's. All the input channels on the other cards show up, and data acquisition from these is perfect. If I type in the name of the channel, it gives an error and the program stops.

I am running LabVIEW 7.1. I tried uninstalling the drivers and re-installing a later version (Ni-DAQ 7.4) but it didn't help. I also tried setting up a DaqMX channel (they are currently all traditional devices) and although the device did appear in the menus for the express VI, it still returned an error dialog every time the program ran. It allowed me to continue, and the value was written to the device, but the error message just kept popping up.

Any help would be greatly appreciated,

Will.

0 Kudos
Message 1 of 4
(2,819 Views)
Hi Will,

If you right click on the Taditional DAQ Channel control and select I/O Name Filtering... you should be presented with a dialog which enables you to select what type of channels you want to show: Analog Input Analog output, Digital etc. This is a very simple little diaglog box but it can be really confusing when you don't know its there!

Let me know how you get on.

Jon Bowers
Applications Engineer
NIUK
Message 2 of 4
(2,800 Views)

Hi Will,

After installing the DAQ card in PC, Whenever you open the MAX, you can directly check for the test panels for any specific I/O line.

But when you are testing through the LabVIEW software, you have to perform the following operations:

1. Select DAQmx Read/ Write block depending open you want to Trigger any line or read the status of aline.

2.Create constant for Task/Channels In

3. Click on the Down arrow on the constant and Select Browse. Now configure the required line from the available ports for the DAQ card.

4. You can specify the name for this line as you wish.

5. Now you can execute this Data Acquisition process.

You should not face any execution problems with the procedure as mentioned as above.

 

-Krishna.

0 Kudos
Message 3 of 4
(2,795 Views)

Hi Will,

After installing the DAQ card in PC, Whenever you open the MAX, you can directly check for the test panels for any specific I/O line.

But when you are testing through the LabVIEW software, you have to perform the following operations:

1. Select DAQmx Read/ Write block depending upon you want to Trigger any line or read the status of line.

2.Create constant for Task/Channels In for this block.

3. Click on the Down arrow on the constant created and Select Browse. Now configure the required line from the available ports for the DAQ card.

4. You can specify the name for this line as you wish.

5. Now you can execute this Data Acquisition process.

You should not face any execution problems with the procedure as mentioned as above.

 

-Krishna.

0 Kudos
Message 4 of 4
(2,794 Views)