Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging Code without NI-DAQ I/O Board

Hello!
I am developing in Delphi a simple application that read analog data from
an AT-MIO-16XE-10.
I would like to develop without the I/O Board installed on my computer...
is it possible?
thanks in advance!
filippo
0 Kudos
Message 1 of 2
(2,802 Views)
For DAQ and other I/O programs I try to put all my I/O code in a mid-level
sub-VI that is setup as a case structure inside of a while loop. The while
loop is only there to allow for shif-registers to store data. The case
structure allows selections like initialize, read, write, ect. In my
initialize case I read an INI file that has a variable to let the program
know if hardware is installed and I store this in the shift register along
with other variables like Task IDs. I then use the hardware installed
variable to prevent calling of the DAQ or other I/O sub-VIs. By using case
structures I can provide dummy data instead of calling I/O sub-VIs when the
hardware installed variable is turned off. Another variable I often put in
my INI file is the device number of DAQ
boards because when I do have test
hardware in my computer it will often have a different device number than my
target computer for the application I am working on.

Hope this helps,

Neal Pederson, President, VI Control Systems
1923 Mendius Lane, Los Alamos, NM 87544
TEL: (505) 662-1461, FAX: (603) 388-4969
np@vicsys.com, www.vicsys.com

Filippo Forlani wrote in message
news:394df1aa@newsgroups.ni.com...
>
> Hello!
> I am developing in Delphi a simple application that read analog data from
> an AT-MIO-16XE-10.
> I would like to develop without the I/O Board installed on my computer...
> is it possible?
> thanks in advance!
> filippo
0 Kudos
Message 2 of 2
(2,802 Views)