05-29-2015 10:12 AM
Hi,
It's my first time posting and my first time using LabView, so sorry if this post is in the wrong section or missing details. Please let me know what is missing and I will do my best to fill in.
I've designed a program that controls a step motor as part of a spectrometer setup. I'm using the SCB-68 which is connected to a coaxial cable which goes to the detector. The motors are connected to a card that's in a PCI slot. One of the problems we've been having is the "scan" feature: if one accidentally inputs the wrong values for the scan and attempts to stop it, it works only if the data acquisition hasn't already started. If the data acquisition has started, one has to wait for the scan to complete. This is problematic, since some scans can take as long as 35 minutes. I'm not sure why the stop button doesn't work.
The logic behind the scan is: if at correct starting postion, start scan/data acquistion. If not, move to postion and start scan/data acquisition.
Also, we've found that when a number that was previously used to start a scan (say pos: 11000) is put into the same field on the front panel, the scan will automatically start without the user having pressed the "Scan" button.
I've spent nearly 3 hours trying to wrap my head around why these things are happening, but I can't figure it out.
Thank you in advance
05-29-2015 12:49 PM
06-10-2015
06:55 AM
- last edited on
12-10-2024
08:43 AM
by
Content Cleaner
Please,
Try to respectect this rules, it could help you
http://www.ni.com/newsletter/51735/en/
So, don't when you have a loop "A" inside a loop "B", loop B is blocked while loop A if finish.
06-10-2015 07:14 AM
06-10-2015 09:29 AM