Well you can use it, but it's not like Direct IO will work. Load NI-DAQmx software if it's not already loaded. It installs ActiveX or dotNET libraries that will allow you to talk to the card.
Examples depend on what version of NI-DAQ you use.
http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C128D?OpenDocument&node=132060_US
(one line)
Of course you can always use CreateFile/ReadFile/WriteFile/DeviceIoControl too. If I remember correctly the dio-96 emulates 4 8255 PIO ports strung together.
-SHAWN-
Examples depend on what version of NI-DAQ you use.
http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C128D?OpenDocument&node=132060_US
(one line)
Of course you can always use CreateFile/ReadFile/WriteFile/DeviceIoControl too. If I remember correctly the dio-96 emulates 4 8255 PIO ports strung together.
-SHAWN-
”), and I use the Bus monitor to view what’s on the serial port, the bus monitor only shows the first 5 bytes coming in and the direct I/O gets a timeout error because it did not get all 20 Bytes. I have gone into Instrument Manager -> <st1:place w:st="on"><st1:PlaceName w:st="on">Serial</st1:PlaceName> <st1:PlaceType w:st="on">Port</st1:PlaceType></st1:place> -> Properties -> Advance settings -> Direct I/O and deleted the “
” for Read Terminator and EOL Sequence. But, the direct I/O still keeps any data after a 0x0A from coming through. To get around this, I change the Direct I/O to read one byte and use a for…loop that calls the Direct I/O 20 times. Is there a way to get the Direct I/O for a serial port to let all data through and not terminate on a linefeed?<o:p></o:p></SPAN></FONT></P><P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P><P class=MsoNormal><STRONG><B><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Rick Page<o:p></o:p></SPAN></FONT></B></STRONG></P><P class=MsoNormal><EM><I><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Test/Software Engineer</SPAN></FONT></I></EM><o:p></o:p></P><P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Futaba Corporation of <ns0:country-region w:endInsDate="2006-04-03T11:53:00Z" w:endInsAuthor="rpage" w:insDate="2006-04-03T11:53:00Z" w:insAuthor="rpage"><ns0:place w:endInsDate="2006-04-03T11:53:00Z" w:endInsAuthor="rpage" w:insDate="2006-04-03T11:53:00Z" w:insAuthor="rpage"><st1:country-region w:st="on"><st1:place w:st="on">America</st1:place></st1:country-region></ns0:place></ns0:country-region></SPAN></FONT><o:p></o:p></P><P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Electronics Components Division</SPAN></FONT><o:p></o:p></P><P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><ns0:Street w:endInsDate="2006-04-03T11:53:00Z" w:endInsAuthor="rpage" w:insDate="2006-04-03T11:53:00Z" w:insAuthor="rpage"><ns0:address w:endInsDate="2006-04-03T11:53:00Z" w:endInsAuthor="rpage" w:insDate="2006-04-03T11:53:00Z" w:insAuthor="rpage"><st1:Street w:st="on"><st1:address w:st="on">711 E. State Parkway</st1:address></st1:Street></ns0:address></ns0:Street></SPAN></FONT><o:p></o:p></P><P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><ns0:place w:endInsDate="2006-04-03T11:53:00Z" w:endInsAuthor="rpage" w:insDate="2006-04-03T11:53:00Z" w:insAuthor="rpage"><ns0:City w:endInsDate="2006-04-03T11:53:00Z" w:endInsAuthor="rpage" w:insDate="2006-04-03T11:53:00Z" w:insAuthor="rpage"><st1:place w:st="on"><st1:City w:st="on">Schaumburg</st1:City></ns0:City></st1:place>, <ns0:State w:endInsDate="2006-04-03T11:53:00Z" w:endInsAuthor="rpage" w:insDate="2006-04-03T11:53:00Z" w:insAuthor="rpage"><st1:State w:st="on">IL</st1:State></ns0:State> <ns0:PostalCode w:endInsDate="2006-04-03T11:53:00Z" w:endInsAuthor="rpage" w:insDate="2006-04-03T11:53:00Z" w:insAuthor="rpage"><st1:PostalCode w:st="on">60173</st1:PostalCode></ns0:PostalCode></ns0:place></SPAN></FONT><o:p></o:p></P><P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">847-884-1444 ext. 162</SPAN></FONT><o:p></o:p></P><P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">rpage@futaba.com</SPAN></FONT><o:p></o:p></P><P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV><BR>--- <BR>You are currently subscribed to vrf as: RPratt@symmetricom.com <BR>To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body. <BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com". <BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to <BR>"owner-vrf@it.lists.it.agilent.com". <BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/". <BR>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list, email "vrf@agilent.com". <BR>If you need help with the mailing list send a message to<BR>"owner-vrf@it.lists.it.agilent.com".<BR>Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".</BODY></HTML>
Has anyone ever used a National Instruments (NI PCI-DIO-96) with VEE? Are there any programming examples? I am using
1)Â Â Â Â Â Â VEE 7.0
2)Â Â Â Â Â Â Agilent I/O Libraries 14.0
3)Â Â Â Â Â Â NI Visa ver 3.1
The PC that I am using has a national instruments GPIB card as well as a NI PCI-DIO-96. In VEE, when I click on (I/O>Instr Mgr>Find Instr), I only see the national instruments GPIB card that I installed….
Is there any information available on how to get the national hardware to be recognized by VEE?
JohnÂ
Â
Â
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
> Dear all,
>
> We are the university in HK. We are now doing a project of using Vee
> tocontrol the eurotherm. Did anyone have this experiences? Please help us. We
> still remain a few days. our model is eurotherm 2416. Thx all
>
> From
> AP student
Quick web search shows that you can communicate with this using RS232
so you need to create an instrument in the Instrument Manager using
the "serial" interface option. Then set baud rate and whatnot
appropriately, and instantiate one of more Direct IO objects
Check the manuals for that interface. If they include examples
you're in good shape. Otherwise check the command set. In either
case you're going to be reading and writing using Direct IO
transactions.
Unless of course someone has a driver available.
Stan
--------------------------------------------------------------------------
Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@agilent.com
--------------------------------------------------------------------------
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".