Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to send 80k of data file from system (pc) having ISA AT-GPIB/TNT TO SYSTEM(pc)


having PCI-GPIB in 500msec. MY interest is to transfer data of around 8k between two Computers every 500msec online. and 80k file only once before start sending 8k data . For this application iam using GPIB boards
*. System(PC) which receives data is having PCI GPIB where operating system is Windows-98 and program developed to receive data is in VC++, MFC. and this GPIB board is configured as System Controller.and i have loaded NI488.2for windows( Measurement &Automation)

*. System(PC) which sends data is having ISA AT-GPIB/TNT where operating system is Dos and Windows-98 and program developed to receive data is in Borlandc.and this GPIB boar
d is configured as Non System
Controller.and i have loaded NI488.2 s/w for DOS and the AT_GPIB ver 2.7.2 and NI-488.2 s/w for windows

For both boards time out setting is 100msec.

Problems iam facing are:

1. I need to Transfer file of 80k from ISA AT-GPIB/TNT to PCI GPIB. i used ibwrtf function and tried to send file-but system is sometimes hanging and sometimes iam not receiving any data on system with PCI gpib.
one more thing is i have to send this file only once so i need synchronisation i.e. both systems should get information that one is ready to receive file other is ready to tranfer file. therby i can ensure that file is transfered.
iam using ibrsv function on non controller side and WaitSRQ and ibrsp on Controller side.

2.In system with ISA AT-GPIB/TNT board iam able to run the application only from inside the borlandc and when i tried running program from Ms-Dos promt application is not running.
i tried booting system in dos mode and ran the application but
screen will be jumping.
tried running from windows - run , from there also application is not running.

pl give me suggestions
0 Kudos
Message 1 of 5
(3,618 Views)
1) If you enable HS488 for both of the interfaces, then you can achieve a throughput of nearly 8MB/s between the boards if you are using a cable at or shorter than 2m. The transfer rate will decrease as a function of cable length. With 8MB/s throughput, you can send the 80k or data in 10ms. You can test this by opening up a session of IBIC on each system and use an IBWRTF and an IBRDF.

2) If you boot into DOS and try to execute the code, you need the DOS driver installed. If you run the code from a DOS window then you need to enable the DOS support of of the driver according to http://www.ni.com/support/gpib/langint/drvr95dos.htm . Several documents on DOS support can be found in the NI Knowledge Base (http://search.ni.com/search/?layout=KB) and Developer Zones
(http://zone.ni.com).

Ryan Mosley
0 Kudos
Message 2 of 5
(3,618 Views)
Network the computers together via the NIC and pass data with tcp/ip protocol....
0 Kudos
Message 3 of 5
(3,618 Views)
Hi,

I am currently working on a project that includes a file transfer from one computer (CIC - PCI-GPIB) to another computer (non-CIC - AT-GPIB). I already took the initiative to ask you since I've been very desperate to resolving this issue.
I have a DOS system (AT-GPIB) and a window system (PCI-GPIB) which is the CIC. I tried transferring files from my CIC to my non-CIC thru the use of IBWRTF and IBRDF commands but I can't seem to get it to work properly. My CIC finishes with a CMPL but my non-CIC reads until it TMO but the funny thing is that even though it TMO, the file transfer was succesful - the whole file was sent. Can you shed me some light as to how you did yours as it seems to be working right.
Thanks in advance

Larry
0 Kudos
Message 4 of 5
(3,618 Views)
An AT board cannot achieve 8MB/s. If you have 2 PCI boards, you can achieve 8MB/s.
0 Kudos
Message 5 of 5
(3,618 Views)