LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A question about using 1394 driver

Hello to the community people,
I have a device (A) that sends some data to my computer via a firewire port. And there is another device(B) that is connected to another firewire port of the computer. I want to listen device A and send all data received from device A to device B, the same data without any manipulating. Is there any way to do it(Read bytes from firewire and write to another firewire)? If yes, introduce its tutorial documents, please. (Note that I don't want to do  video streaming)
Another question is how to define a virtual 1394 driver in a computer? for example, I will save all data, and after a while, I will transfer all data in a buffer and the computer should suppose that this buffer is the the information that firewire device is sending to the computer.
0 Kudos
Message 1 of 2
(2,491 Views)

Hi no1,

Do these devices have drivers that you have installed? Do they have a driver application programming interface (API) that you can access, probably through a C++ DLL? I assume you're using LabVIEW (since this is the board you posted to). If you're using LabVIEW and you do have DLLs for your cards, you can use the Call Library Function Node or the Shared Library Import Wizard (which creates wrapper VIs for your DLL calls).

Otherwise, you can use NI-VISA to communicate with your devices. Here is a tutorial how to configure a USB device using the VISA Driver Development Wizard (which would be analogous to Firewire), and here is an overview of VISA.

You would read the data from device A and then write that data to device B, using either the DLLs or VISA, depending on which route you choose. Unless the devices have specific functions to transfer data to each other in their API, you will have to transfer the data by reading and writing the data in LabVIEW. I hope this helps!

Regards,

Missy S.
Project Engineer
RoviSys
0 Kudos
Message 2 of 2
(2,448 Views)