LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you mimick a ddl command from labview

Hi all,

 

I currently have a batch file that uses ddl to send files over a serial port.  I have used the system exec vi to run the batch file, but this seems to be unstable, closing the port and reopening the port doesnt always seem to function.  Is there a better method, possibly using labview to send these files over the com port?

 

Any advice?



-Matt
0 Kudos
Message 1 of 5
(3,599 Views)
Just writing a file to a serial port is trivial. However, if the dll is using some special protocol such as xmodem or ymodem, it becomes a bit more difficult. Where's the documentation on the dll?
0 Kudos
Message 2 of 5
(3,589 Views)

DDL could also stand for Data Definition Language. It looks a bit like SQL or Basic. More generically speaking it is a syntax to describe a data model and as such XML can also be seen as a DDL. As such it is a Text based protocol and should be fairly easy to implement in LabVIEW on top of the VISA functions. Since the DDL is inside a batch file now, it is probably even mostly a copy and paste of the relevant code sections in the batch file to the LabVIEW diagram and translating whatever functionality is now used to talk through the serial port to be using VISA functions.

Rolf Kalbermatter
My Blog
Message 3 of 5
(3,556 Views)
Sorry, I thought you had just misspelled dll.:-)
0 Kudos
Message 4 of 5
(3,526 Views)

Hi,

 

I suppose i should have been more spefefic, but by DDL i mean Direct Download. 



-Matt
0 Kudos
Message 5 of 5
(3,503 Views)