Jump to content

Need help modifying code. (Non-programmer)


Saara

Recommended Posts

I use LabView to collect friction data in a wear test. I recently purchased new instruments and LabView 8.6.

The code attached was programmed by a friend. am unable to use it because:

1. instead of giving 1000 samples and 1 channel, the logged data shows 1000 channels and 1 sample data

2. the final values are frictional force values. i need Coefficient of friction

3. i need to add channels (quarter and half-bridge configuration - strain gauges) but have no idea how

I do not know how to program, Labview or otherwise.

Please help DAQAsst.vi

Link to comment

Hello Ton,

How do i reconfigure the express VI? Need the program in a few weeks. not enough time to learn.

Saara

Saara:

I think you need these steps to complete it.

1. right click express VI

2. select "open front panel"

3.push the dialog "Convert"

4.now , you could read the source code and configure any item that you want

Link to comment

How do i reconfigure the express VI? Need the program in a few weeks. not enough time to learn.

Saara:

I think you need these steps to complete it.

1. right click express VI

2. select "open front panel"

3.push the dialog "Convert"

4.now , you could read the source code and configure any item that you want

I actually think Ton meant not to convert the Express VI, but instead you should configure the express VI by right click, select Properties.

This will take you to the DAQ assistant, where you can add/remove channels as you want.

I have not checked your code, but if it is already converted to DAQmx code, you will have to restart by adding the DAQ Assistant Express VI from the Express->Input palette.

Then configure the channels as needed.

/J

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.