Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple RS-485 capture

Is there a simple application/example program that is non-CVI to log RS-485 data to a file using an 8341/2 with NI-Serial 1.7?  I want to dump 600Kb data to a file.
 
 
 
 
0 Kudos
Message 1 of 4
(3,772 Views)
Hi GBerry,

I found an example in LabVIEW that does the communication. Once you get the date you want you could simply wire it into a Write to LabVIEW Measurement File VI and you'd be set.

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=C3358B5CBE2C5068E034080020E74861&p_node=DZ52363&p_source=External

Hope this helps.

Matt S.



LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 2 of 4
(3,747 Views)
Oops. My bad.  I was looking for a non labview  and non labwindows/CVI example.  I was hoping for a VISA API interface that I could import into C# so I could "snoop" on a RS-485 bus.
0 Kudos
Message 3 of 4
(3,742 Views)
Hi Gberry,

Here's an example in Visual C++. This has no File I/O, but shows how to configure the ports and do serial I/O on them.

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DFE756A4E034080020E74861&p_node=DZ52363&p_source=External

Best of Luck!

-Matt S.

Message Edited by Matt_S. on 09-09-2005 10:19 AM


LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 4 of 4
(3,731 Views)