LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Force-Path-Diagramm

Hello everyone,

 

I am new to LabView, so I have an issue with plotting a signal in XY-Graph. I am trying to measure the of the force applied to an object and the distance of applied force. I sat the scale of both X and Y to auto-scale in case my sampling is totally wrong, but still nothing happened. Furthermore, I am using hardness tester with applied force 2.4K Newton in a distance (0 - 200 mm). The displacement sensor I am using is 24V DC (with maximum voltage of 10v) 0 - 50 mm. The DAQ I am using to obtain the signal from the sensor and deliver it to PC and then view it in LabView is NI DAQ (6000). Now to the point, the problem I have is when I try to plot the signal in XY-Graph nothing shows up in the graph even thoughts there are no errors, so I did make another waveform chart to see if my program works and the signal plotted normally. I will attach my program to this message, in case if anyone can help me to figure out why there is nothing showing up or being plotted in XY-Graph.

0 Kudos
Message 1 of 4
(783 Views)
  • We are missing your subVI ("kraftmessung 4 xy graph editing neu.vi" which you seem to have converted from an express VI).
  • If you wire the same data to the x and y inputs, you always get a diagonal, right?
  • Sorry, I cannot look at you DAQ assistant settings (no drivers installed). How is it configured?

 

There is no reason in the world to hide the scrollbars of the front panel and maximize it to the screen. Why????

 

0 Kudos
Message 2 of 4
(754 Views)

I did replace (kraftmessung 4 xy graph editing neu.vi) with the default one, since I did not have to make any editing to it.

 

  • If you wire the same data to the x and y inputs, you always get a diagonal, right? Exactly, but for some reason, the diagonal disappears sometimes.

 

  • Sorry, I cannot look at your DAQ assistant settings (no drivers installed). How is it configured? Since I cannot be in the lab for long time, because I have to go to work, I did use NI MAX to create a virtual USB-6000 channel (Voltage - a0) so that I can run my program and to see if there are any errors and if there is a signal plotted in graphs, which will be in this case at 0. You can do that by first:
  • Open NI MAX
  • Go to devices and Interfaces, right click and then create new ''Simulated NI-DAQmx device or Modular Instrument
  • Then USB DAQ, then click which ever you want, in my case it's the ''NI USB-6000''
  • When is that done go to my program, DAQ Assistant, properties, remove the current channel and then add the new one you made from NI MAX. It should now work for you.

 

I attached my newest edited program to this message.

0 Kudos
Message 3 of 4
(744 Views)

Please DO NOT scale front object with the pane, don't maximize the front panel to the screen and please don't hide the scrollbars!!! Also, don't maximize the diagram to the screen!!!!

Focus on the code instead of randomly twiddling with settings that have no meaning for this problem!

 

You still have the edited express VI.

 

I don't have DAQmx, so I cannot create a simulate instrument. Why can't you just simulate a signal instead? How does the data look like? Can you just simulate it using simple datattpes instead of express VIs?

0 Kudos
Message 4 of 4
(729 Views)