LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with motor control

Good morning!

 I apologize for the late replies, but for the update, I was able to download NI-MAX into the computer and found this:

Jane_42_0-1718289956110.png

I really do appreciate the patients and help through this process and cannot thank you enough!

0 Kudos
Message 11 of 14
(121 Views)

Thank you so much for this input NIquist! I am changing the code right now to use Enum. By any chance may I see how you ran the code using Enum on a file? If it's too much that's very understandable! I am doing my best to make sure I am understanding and learning the processes for future projects as well. 🙂

0 Kudos
Message 12 of 14
(117 Views)

You have no COM ports.  That's why you can't use a serial connection.

 

If you have a desktop PC, almost all of them should have COM1.  If you're using a laptop, then you need a USB to Serial adapter.

 

Check your Device Manager too.  You should see the hardware under the Ports (COM & LPT) section:

NIquist_0-1718372279731.png

Until Windows can see it, NI-MAX and LabVIEW won't be able to either.

 

FYI:

Using Enums in Labview Case Structures - NI

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 13 of 14
(102 Views)

Thank you so much for taking time off your day to answer my questions, I really appreciate all the help given! And yes, it has answered most of my questions 🙂

The only issue now that I have been having is that my code will not stop or it would still have trouble turning counter clockwise and then counterclockwise whenever the user decides to switch the rotation.

0 Kudos
Message 14 of 14
(78 Views)