LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

need some help! I am writing code for a force plate - FX,FY,FZ + moment X, moment Y and momentZ

Solved!
Go to solution

Hi Ned,

 

Ignore the last zip file. Use this one. Had changed some vi's but not changed accordingly in one of the examples.

 

Rgs,

 

Lucither.

------------------------------------------------------------------------------------------------------
"Everything should be made as simple as possible but no simpler"
0 Kudos
Message 21 of 33
(1,173 Views)

Hey Lucither

 

The prgram is what I need now. Very cool

 

I do not have Torque Y or Torque Z channels anymore.

 

I changed the input voltage from +/-5Vdc to +/-10Vdc

 

My channels are Dev1/ai0, Dev1/ai1, Dev1/ai4, Dev1/ai5, Dev1/ai16, Dev1/ai17

 

16 and 17 do not show on graphs

0 Kudos
Message 22 of 33
(1,165 Views)

Hey Lucither

 

Same problem. Torque Y and Torque Z are missing. I am not sure why. Also I can get this error message (see attached jpg)

 

Thks for the help

0 Kudos
Message 23 of 33
(1,161 Views)

Forget that

 

I have my traces now. I do get that error message when I increase frequency??

0 Kudos
Message 24 of 33
(1,159 Views)

Ned,

 

I can see from the jpg that you have the wrong address input for at least one of the channels. It should be ai6, you have ai16. I would imagine this is the same fault for the other. Just change it. When i tested i could only test using 2 channels. I saved it with what i beleived to be the channel numbers you needed as default. Most probably made a mistake in the typing. just change the io address's, that problem should disappear.

 

As for the other fault i beleive it has to do with the amount of data you can send to an Excel file. I just tested and got a similar fault when upping the sample rate. Nothing i can do about that. You may want to test the limit, keep on going up until you get the error. When you know the limit let me know. I can perhaps adjust it so that it writes multiple files instead of one.

 

Rgs,

 

Lucither.

------------------------------------------------------------------------------------------------------
"Everything should be made as simple as possible but no simpler"
0 Kudos
Message 25 of 33
(1,152 Views)

Hey

 

I have it working great now!

 

Yes the higher frequency error is related to the Excel file. No big deal.

 

Thanks for all this help Lucither

0 Kudos
Message 26 of 33
(1,150 Views)

Hello I am interested in looking at your code. Is it possble for you to post the following missing vi's:

 

Excel Get Worksheet.vi

Excel Easy Table.vi

Excel Rename Worksheet.vi

 

Thanks

0 Kudos
Message 27 of 33
(1,021 Views)

Hey - Here is the file tree

 

I will parse out the vi's

 

file tree.jpg

0 Kudos
Message 28 of 33
(1,011 Views)

Thos vi's were in the Controls folder.

 

The ones below are from the Subvi's folder.

0 Kudos
Message 29 of 33
(1,010 Views)

The ones below are from the Subvi's folder.

0 Kudos
Message 30 of 33
(1,009 Views)