LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Please help solve K8047 Velleman PCS10 voltage recorder VI

I'm very new to Labview V14 - 32 on Win 7 - 32.

 

I have tried to emulate this post:

http://forums.ni.com/t5/LabVIEW/k8047-Velleman-connecting-with-labVIEW-trouble/m-p/3128971

but failed.

 

I think my problem lies in the header file, or the pointer declaration for the read function.

I used the header file from this post:

http://forum.velleman.eu/viewtopic.php?f=10&t=5652

 

I was able to use the information from this post to import the DLL file:

http://forum.velleman.eu/viewtopic.php?f=10&t=14466

 

I have tried these links:

http://forum.velleman.eu/viewtopic.php?f=10&t=4785&start=15

http://forums.ni.com/t5/LabVIEW/DataLogger-K8047-Velleman/m-p/1404096

http://www.ni.com/tutorial/3009/en/

http://zone.ni.com/reference/en-XX/help/371361B-01/lvexcodeconcepts/configuring_the_clf_node/

http://forums.ni.com/t5/LabVIEW/reading-textfiles/m-p/3125152/highlight/true#M897541

http://digital.ni.com/public.nsf/allkb/DCB90714981A1F148625731E00797C33?OpenDocument

https://forums.ni.com/t5/LabVIEW/k8047-dll/td-p/1147470

I can't 'C'; either...

 

Am I suppossed to use this:

https://forums.ni.com/ni/attachments/ni/170/504934/2/doc.JPG

 

The hardware works great.  PClab2000SE works fine.

 

I know I'm missing something, at an impass, and don't know where to go next.

 

Thanx.

 

0 Kudos
Message 1 of 5
(3,149 Views)

What I have to this point:

0 Kudos
Message 2 of 5
(3,147 Views)

Hi paranoid

 

I have seen the device information in this page http://www.velleman.eu/support/downloads/?code=PCS10 (downloads>>Software) and I realized that we can see Recorder_Loagger_DLL.pdf file where this document shows an explanation for each function.

 

You are right you need to use the ReadData description and Pay attention on the parameters types because when you are calling the dll file in the Parameters tab in the Call Library Function Window  in LabVIEW you need to make sure that you are configuring the correct type and correct number of inputs and outputs.

0 Kudos
Message 3 of 5
(3,001 Views)

You are mostly right...  I actually didn't configure anything; the import dll function did that for me.

 

Rebecca, from Velleman, was able to show my error.

 

The function node, "ReadData," had a *ptr instead of the correct, "Array" parameter.

There were other issues, like the calling convention being half C and the other half of the calls were API.

The imported DLL files needed to be copied into multiple directories???  Probably only one or two, are correct.  Too bad I kept choosing the worng directory to paste them into.

 

The ultimate fix was the ptr to array declaration in the function "ReadData" parameter.  SOLVED!

Download All
0 Kudos
Message 4 of 5
(2,986 Views)

The last pic.

0 Kudos
Message 5 of 5
(2,984 Views)