LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

urgent help - splitting a string into 5 u8 data

Hai mike,
 
Thanks.
But my dll has only one input (U8) terminal. So i have to pass the data one by one. That's why i asked how to send all those 5 one by one.
 
 
Thanks & Regards,
Mathan
Message 11 of 22
(1,491 Views)

Hi mathan,

can show your dll call? I mean the function call. Maybe it is possible to send the entire array at once.

Mike

Message 12 of 22
(1,489 Views)

Hai mike,

Sorry for the late reply. I have attached the screenshot of my code.

The second Call Library Node has 5 inputs and 2 outputs(responses). The fifth input that should be a U8, requires the following inputs 20H, 10H, 01H, 01H, 00H.

 

Thanks & Regards,

Mathan

Message 13 of 22
(1,483 Views)
Message 14 of 22
(1,482 Views)

Hi mathan,

do you have to set this value one after the other? Did you write this dll? Where is the dll from? Sorry, but i´m not sure what you want to do.

Mike

Message 15 of 22
(1,470 Views)

Dear mike,

Actually am testing my USB device. That device can be controlled with one dll that was already developed by the manufacturers of that device. I know the built in functions of the device.

 

Am not clear as of now. i will recollect everything and explain you tomorrow. Sorry

 

Thanks,

Mathan

Message 16 of 22
(1,467 Views)

Dear mike,

Am attaching here the vi and the dll. Please go through it.

I got the error message that i also attached.

The problem is with the declaration of 'command' and 'response' parameters.

Command parameter: It should get this as input (2010010100 H) as a whole.

Response parameter: Its an output parameter that will have some stored output results in hexadecimal values like this 3b 6d 00 00 00 4f 84 24 fc 00 34 7a cb 65 ba 12 ff 90 00

Kindly modify the vi and reply asap.

 

Thanks,

Mathan

Message 17 of 22
(1,421 Views)

Hi mathan,

i don´t know what your dll make, but if i connect the array connected to the command input also to the response input i get some values. Hope this helps.

Mike

Message 18 of 22
(1,408 Views)
Hai mike,
 
But i got a crash if i do like what u told.
 
Message 19 of 22
(1,405 Views)

Hi mathan,

that´s interesting, on my pc it works, but i don´t know what your dll makes so it is possible that it work for my, because i have no hardware and for you not.

Mike

Message 20 of 22
(1,396 Views)