LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS422 Data Display formatting / manipulation

Solved!
Go to solution

#1, #2, & #3   I'm sorry for my overall ignorance on some of this....   I've had no formal Labview training....just picked-up what I can from different examples, and "made it work".    It's not that I'm ignoring what advice is being given, it's just that I'm not sure how to do some things.  

 

#4.   I'll start a separate topic for that at some point.   Just writing down thoughts as they come to me.

 

I wasn't quite yet worried about the send command yet, but that would likely explain why my unit was ignoring commands.     FWIW, I'm serially communicating with a FPGA on a circuit card.    I've already defined the output stream above...no need to re-hash that.    The Send command is recognized by the FPGA when byte 0 is 96.   So a proper send command in my application is 96 followed by 15 bytes.   I'm not aware of any required termination character....I'll have to look into that.

 

 

 

 

0 Kudos
Message 11 of 14
(1,368 Views)

Awesome.   That worked like a charm.   Syncs right-up with the data stream, and I actually found a comm problem with the Units under Test already.

 

I'm going to go ahead and accept that as the solution.    The only thing left on the Read function is figuring out how to clear-off the oldest data....but I can work on that.

 

I'll make break-out threads for my other issues as I get stuck.  

0 Kudos
Message 12 of 14
(1,357 Views)

I'm glad it is working better for you.

 

The part of the code where I have the Delete from Array is where I have it stripping off the oldest data.  Where you have 300, I had a smaller number like 11.  Basically that said I wanted to keep 11 rows of data.  I started it at row 1.  Row 0 would be the oldest and would thus be the part stripped off.  I'm kind of using the Delete from Array backwards in that I'm "deleting" from row 1 for 11 rows, but that is actually the part I'm using.

 

I see you added the clear button which is good for wiping the array clean.

 

You may need to tweak the array manipulation a bit.  I didn't thoroughly test it out as there are many ways the Delete from Array can be configured depending on wha tyou want to do.

0 Kudos
Message 13 of 14
(1,349 Views)

Yes, I increased 11 to 300 to give me the entire timeframe that we're initially testing.        I was able to run 14 units, and had 5 failures.   The data stream operated as expected (other than I do not have the Send section working yet).

0 Kudos
Message 14 of 14
(1,333 Views)