Jump to content

Read Value of Static Output Card?


lvb

Recommended Posts

Is it possible to read the value of a static output card in LabVIEW or for that matter, any output card?

I am using a NI PCI-6704 voltage/current output card. I would like to read/monitor the voltage/current that a few channels are set at.

I attempted to do this with a DAQmx Read VI, but it returned an error. (I am not on the DAQ pc at the moment, so I don't have the error code)

Thanks...

Link to comment

QUOTE(brianafischer @ Sep 28 2007, 01:01 PM)

Is it possible to read the value of a static output card in LabVIEW or for that matter, any output card?

I am using a NI PCI-6704 voltage/current output card. I would like to read/monitor the voltage/current that a few channels are set at.

I attempted to do this with a DAQmx Read VI, but it returned an error. (I am not on the DAQ pc at the moment, so I don't have the error code)

You can usually do that for digital outputs but not for analog outputs. It would anyhow only read the value written in the digital registers of the DA converter and not the actual value on the analog output. To read the analog value there needs to be an AD converter too and that would make the DA converters extra expensive. However most NI-DAQ boards do have a lot more analog inputs so wiring the analog output externally to an analog input will allow you to do what you want. On some boards you can even use internal signal routing lines but programming the according switches is a lot more complicated than a simple external wire.

Rolf Kalbermatter

Link to comment

My solution was to use a functional global that stored the values written to outputs channels in a shift register. There is a "read" command that allows to recover this data. The only limitation to this is that one cannot read values written by other applications.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.