Jump to content

Simulating a Pwr Supply voltage


Recommended Posts

I read (somewhere on the NI site) that someone successfully implemented code witrh simulated DAQ devices and was able to carry out simulated voltage measurements. Since the question was for something else, it did not describe how trhat was done.

That being said..

I have created a simulated DAQmx device. Plus implemented a voltage monitoring daemon. When the voltage goes below a certain threshold, the test system disables the possibility to carry our measurements. The code is implemented and I was hoping to run simulations to tests a bunch of interlocks, including this one. The one I cannot simulate is detecting the voltage levels at the input of a DAQmx device. As I said, code and virtual DAQ device exists. I simply need to fake a voltage to the input.

When I run the code, there is a voltage measurement, but it drifts up on both sides of the differential input (2 DAQ channels). So it's getting some virtual voltage somewhere... I just don't know where.

Any ideas / suggestions?

Thanks

RayR

Link to comment

A simulated analog DAQmx device will return a sine wave with a little bit of noice, so that's most likely the drift.

You can see this easily in MAX.

I only use simulated devices to control timing settings and stuff. For program testing a use a simulated value VI.

Ton

Link to comment

Ton: "A simulated analog DAQmx device will return a sine wave with a little bit of noice, so that's most likely the drift.

You can see this easily in MAX."

Yes, I agree.. Saw it quite easily.. "kinda" used it for a sanity check..

Ton: "I only use simulated devices to control timing settings and stuff. For program testing a use a simulated value VI."

That's where I was headed, but wondered if there were easier (faster) ways of doing this. Oh well.. another pet project :)

Thanks Ton

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.