LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DNET Eurotherm Mini8 Output Buffer

Solved!
Go to solution

Hello,

 

I am working on an application in LabVIEW with an NI-DNET card, and an EuroTherm Mini8 controller, which has polled input of 80 bytes and output of 48 bytes.

 

I started everything off with EasyIOConfig (feeding it the correct I/O sizes), indexed the Device Handler, passed them into a While Loop.  Inside the While Loop, I have Read DeviceNet I/O, and Write DeviceNet I/O, and feeding them with Convert From DeviceNet Read, and Convert For DeviceNet Write, respectively, with desired byte offsets specified.

 

Reading works perfect.  I have trouble writing to some output.  I have wired an indicator to the data line going into Write DeviceNet I/O, (which should give me a read of the output buffer, right?).  I can only address the first 8 bytes.  Outputs in the first 8 bytes work,  Byte 8 and on are grayed out and do no respond to input.  Input for Byte 42, writes data to Byte 4 for some reason.

 

I played with it for a while, tweaking different things.  At one point, I was able to address the first 14 bytes, but the offset did not do anything - it simply put the I16 data input sequentially into the output buffer.  Tried using different data types to define the offset, reloading the Ni-DNET drivers, no dice.

 

I am building the EXE from a PC running LabVIEW 8.6 (no DNET card), and running it on another PC with DNET card and hardware installed, if it makes a difference.

 

Any ideas?

0 Kudos
Message 1 of 2
(2,965 Views)
Solution
Accepted by topic author Johnny Z
Solved it by sending an empty array of 48 bytes to the first Convert For DeviceNet Write. 
0 Kudos
Message 2 of 2
(2,939 Views)