LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you accept files over and IR port?

I am trying to accept files over and IR port and trigger another vi every time a file is received. Has anyone had any luck doing this? I read that you can use the ws2_32.dll to do this but I'm new to calling libraries.
0 Kudos
Message 1 of 2
(2,595 Views)
It depends on the protocol that the sender is using. I've used IR, but it simply acted like a serial port. Even if you know that much, you'll want to know how it sends the files. So, a header explaining the number of bytes, filename, and following the data. That would be pretty simple.

I looked at the ws2_32.dll and it appears to be winsock (tcp/ip) and nothing to do with IR.

The LabVIEW Advanced course has a very good section about using Call Library Function nodes. If you find out more about your application, hardware (IR) and communication protocol, we might end up figuring out if we need to use an existing DLL.
0 Kudos
Message 2 of 2
(2,595 Views)