LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is a good example to use when wanting to simulate Digital I/O without being connected to a digital source?

I need to create a VI and debug it without ever connecting to the devices until the VI is completed. I need to be able to simulate 4-channels of analog input and/or digital input. Using both read/write and possibly some filtering.

I'm sure there is an example that I can use for this but I have not found it yet. Currently I cannot set up the "channels" that I want because the MAX software says none exist (since they are not connected I think), I need to be able to set it as though they exist before I ever use this.

This system will be connected to live animals for EMG input. I work with LABView 6.1 and an E-Series DAQ card on WIN2000.

Thank y
ou,

Tiffany Coleman
0 Kudos
Message 1 of 2
(2,751 Views)
Hey Tiffany,

A few good examples that use generated digital data include Digital Waveform Graph Demo.vi, or any of the digital waveform examples. Good simulated analog input examples include the simulations examples found by searching for "simulation" and the function generator examples found by searching for "function".

You should be able to take the signal generating parts out of these examples to make your own function generators. You will not be able to set up the virtual channels in MAX without having the DAQ card in the computer.

If you have the DAQ card in the computer you can setup your virtual channels and test the analog inputs, by connecting them to the analog outputs and generate the analog outputs in MAX or with an analog output VI. You
could also test the digital inputs, by connecting them to the digital outputs and again use MAX to produce the digital outputs or use another digital output shipping example.

I hope this helps.

Joshua
Message 2 of 2
(2,751 Views)