From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling motors via DMM feedback

Hello,

 

i am extremely new to labview and have been reading the manual for the past few days, i am trying to create a program where a user can press a button and then run through a program, the program is quite simple in principle its a program that adjusts the motors controlled by my pxi 7350 depending on the reading from my pxi 4065 multimeter, where it looks for the highest position and once found saves a reading to an excel file.

 

This is proving way more difficult than i imagined, im having trouble linking everything i cannot seem to find anything anywhere on linking items i.e. i have a switch which the user presses as the control this then activates the terminal on the block diagram but from there im having trouble connecting it to a multimeter to zero and then to control my motors, the cabling are different colours and are impossible to connect please see attached vi.

 

Any help would be amazing!!

 

cheers

james

0 Kudos
Message 1 of 3
(2,287 Views)

Hi James,

 

Are you sure that's the correct VI which you intended to upload? Just checking as there isn't a lot happening on the block diagram. If you have another VI I'd be happy to look at that, alternatively the following information may be useful.

 

If you are having difficulty using LabVIEW (you mentioned that you're a new user), then I recommend you first have a read through this section of our website: http://www.ni.com/academic/students/learn-labview/

 

This will take you through some of the basic aspects of LabVIEW and give you a better starting point for this project. The functionality you're aiming for isn't overly difficult once you get familiar with some key concepts, and getting more familiar with LabVIEW will make it easier to receive tips and suggestions on the forums.

 

In addition to the tutorials in the link above, there is a lot of example projects built in to LabVIEW which you might find helpful, to find the NI Example finder go to Help->Find Examples on the toolbar of any LabVIEW window.

 

For more structured training in LabVIEW, you can find information on our instructor led courses from http://www.ni.com/training/

 

You can find examples and tutorials for NI-Motion (Used to control the 7350 card) here: http://sine.ni.com/psp/app/doc/p/id/psp-410/lang/en

 

You can find examples and tutorials for NI-DMM (used to control your 4065 card) here: http://sine.ni.com/psp/app/doc/p/id/psp-936/lang/en

 

For writing values to excel, you could use the Write to Measurement File Express VI, which can write directly to excel files in LabVIEW 2013.

0 Kudos
Message 2 of 3
(2,231 Views)