Quantcast
Channel: LabVIEW topics
Viewing all 66762 articles
Browse latest View live

Monitor Noise

$
0
0

Hey Community.  What I am about to ask isn't necessarily a LabVIEW question.  But because I am the LabVIEW developer and the builder of the test stands, I thought I'd post this question here to see if anyone has run into similar issues and had a solution.  I know many of you build stands and/or are just plain super super smart.

 

The monitor/keyboard drawers we are using for our stands are apparently creating enough noise that it's creating a small amount of buzz in our readings.  I am using Chassis PXI-1004 and the controller is a PXI-8820.  There's a single display port.  Since the drawer we are using is a dual monitor (I unfortunately cannot direct you to the model of this item), we also use a USB Display adapter that outputs to DVI manufactured by "J5create."

 

The solution apparently has been to close the drawer and shut them off and just use a regular stand alone monitor which leads me to believe it's the monitors.  Someone suggested dropping the refresh rate of the monitors to 50 HZ.

 

Does anyone know of Display Port issues or even DVI issues or monitor issues?  Any resolutions to this?  Feel free to answer this in the form of a LabVIEW response so that it's still LabVIEW relevant. Smiley Tongue


How to extract exponential number from string

$
0
0

Hi, I have an input string and I want to grab exponential value 0009.578e-01 from it. I could only get data up to the "e-". What am I doing wrong?

 

Thank you in advance!

 

Format NI Flash Drive w/ LabVIEW and LabVIEW NXG for Use as Regular Storage

$
0
0

NI sent me 2 flash drives with LabVIEW 2017 and LabVIEW NXG on them. I don't need this software, but I would like to use the flash drives as regular storage. Everything I've done to erase or format the drives does not work, as they are "write protected".

 

The drives themselves are Toshiba 32GB, model PA5080L, with I think a PHISON 2303 (2251-03) controller.

 

Here's a list of the things I've tried:

  • Open Windows Explorer, right click drive, format, OK, error message: "disk is write protected"
  • Regedit, setdevicestorageproperties, 0 (whatever the right string is)
  • cmd, chkdsk, erase data
  • cmd, diskpart, clean, error message: "disk is write protected"
  • 2 low-level formatters available for similar Toshiba drives

 

Has anyone else gotten these flash drives and managed to erase/format them successfully? I realize this is a cat and mouse game, and I could easily buy new flash drives for cheap. Also, I apologize if somebody already answered this question or I posted in the wrong place, I found no "Make Use of the Random Stuff NI Sends You" category in this forum.

ERROR -32 while creating an installer

$
0
0

Hello,

I am trying to create an installer so I can run an executable without the need of someone else using the executable to install the Run-Time Engine. I am using LabVIEW version 2016.

 

However I get the following error,

 

Click the link below to visit the Application Builder support page. Use the following information as a reference:
CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> AB_CreateNewWizard_Invoke_CORE.vi >> AB_UI_FRAMEWORK.vi >> AB_UI_Frmwk_Installer.lvclass:Build.vi >> Installer.lvclass:Build_from_Wizard.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi


The following errors and warnings were recorded during the build:

Error:
Failed to copy a distribution.
Details:
Copying distribution 'NI General Security Patch Q2 2013 (KB 67L8K7QW)' from: \\dleesd.itg.ti.com\ESD\LABSTATION\NIDS2016DS2\Distributions\GSP\ to: C:\ProgramData\National Instruments\MDF\ProductCache\
Additional details:
Internal system error.
An internal system operation returned the error "The system cannot find the path specified.".
Code:
-32

 

I have tried creating a project with a simple vi and that does not seem to work either.

Any guidance on this would be much appreciated.

 

Thank you,

Marlyn

 

Adding a Run/start button Inside VI

$
0
0

Hello All,

 

Possibly a simple but silly question. I developed three applications to control three different kind of instruments. Where my Application 2 needs to be run again as I enter different states and Press Run, and the command is entered into the hardware.

 

Every application is running perfectly in its own. However, now I need to make them usable in one interface. When I put the Block Diagrams of all three of them in there(see attached), the applications seems to run fine but I need to put a separate Run button/switch for Application 2(laser system) as it needs to be given different instructions every now and then and needs to be Run after the value is entered.

Please advice.

Snippet is attached. Will be glad to answer questions or if I am not very clear.

Thanks

Who's timestamp is it (Shared variable)?

$
0
0

I have a shared variable hosted on "My Computer" that I'm reading on a RT controller.  Is the timestamp that the RT controller reads referenced to the RT controller's clock or is it the time stamp from the host computer when the variable was updated by the host computer?

 

Thanks,

 

XL600

Count Boolean True's

$
0
0

I'm trying to create a simple counter when a boolean value is true. If I was writing line code, I would simply say that once SAVE is TRUE, then COUNT = COUNT + 1, else, COUNT = COUNT, and then drop out of the loop.

 

Attached is the scrren shot of what I have. The problem is the counter keeps counting until the SAVING variable goes off. I just want it to increment by one. I've tried multiple ways of doing this, however, 2 hours later and still no avail.Capture.JPG

Re: Dependencies in vi.lib and user.lib loading from wrong location

$
0
0

Hi,
I am having the same problem. But this issue occurs with each files and projects that I want to open.

Sometimes I also couldn't find the right .vi / .llb/ .lib in the folders. I tried to reinstall whole LabView 2013, but this hasn't work either.

Does anyone has another suggestion?


Best method for implementing a next button in a program with a series of pauses between parts?

$
0
0

We have a sequence with three(or more maybe) pauses we'd like implement where the operator must a next button before the sequence continues on. 

In the first section, some motors will move to home and the operator will want to move some things around before hitting a button to continue the process, the motors will move somewhere else, the program will pause again until the operator hits "next" then some loops with Data Acquisition and another loops with some state machine timings will start as well. The program will pause again, operator unloads some stuff, and they will then hit another "next" button to end the program.

 

What's generally considered to be the right way to go about something like this? Should I be using event structure or would implementing another set of state machines controlled by an incremental button be enough?  

 

Thanks!

Help with creating a Labview program for Nikon D5000,D5100,D5200?

$
0
0

Hi,

 

So, I have downloaded drivers from Ackerman (third party) company for the a series of Nikon cameras. The problem is that 1) I don't have it authenticated 2) I am not sure I can create a Vi using it because it has blocked access 3) I am not trying to buy the full version.

 

Now, what I am trying to do is control few cameras in the lab I work in. Not all at once, because we have a few different systems running with different cameras attached to them.

 

The endgame here is to create a labview program that will allow us to access said camera and allow us to control all the function and create controls for it. Example is that we want to have continuous pictures taken while we run a different command. I know that function is already available on the camera. 

 

So does anyone out there know how to create some drivers for a camera and can link me to how its done or know of a different way to control a camera through labview. I'll take any advise out there haha.

 

Thank you in advance to all that are willing to help.

Error -200072 While Editing a Task Progammatically

$
0
0

Hello, I get the above error code while trying to edit an existing task programmatically. I know it means that the channel already exists in the task, and you cannot have duplicate channels. I do not want duplicate channels - I want to edit the existing one. I am using the create virtual channel vi, which is probably where my error is, as the channel already exists, so I cannot re-create it as a duplicate. The issue is that I want my users to be able to edit the channel names at run time without opening MAX and creating a task. There will be an initial template, but then they will be able to save the new configuration with a new name, and recall it at a later date if desired. They do not know MAX, I do not want to have to teach them how to use it, and it is not intuitive to my techs. I want to reinvent the wheel. I can edit almost everything about the channel using the property nodes, but I cannot find a property to edit the channel name. I know I'm going to feel foolish when the question gets answered, but I have spent way too much time unsuccessfully trying to figure it out myself. I am using a cDaq-9178 with an NI-9205 as module 2, and LabVIEW 2017 Developer's Suite.

Using the Biomedical Workbench ECG Feature Extractor

$
0
0

Hello everyone, I am new to the ECG Feature Extractor and would like to ask a question on that.

 

Currently, I am working on a project which is to extract QRS complex features from ECG signal so to perform machine learning tasks at a later stage. I have already processed my signals using LabView and saved the output file as TDMS file (binary file). I then feed the TDMS file as the source to the ECG Feature Extractor in the Biomedical Workbench (2015). After I have I set all the parameters, the ECG feature extractor did help me in highlighting the QRS complex in red colour, and there was a dialogue box saying that the feature has been saved to the directory that I specified. In the directory, I can see 3 files, one is a TDMS file, one is an ANN file and the last one is a TDMS_INDEX file. I opened the TDMS file with Microsoft Excel and found that the data values on the spreadsheet are the same as the original signal.

 

I would like to know how may I get the values for the QRS features I extracted, so to enable me for performing further tasks on them, please? Thank you for your help in advance.

Amplitude calculation in Impact test (DAQmx)

$
0
0

Hi!

 

Does anyone know how the amplitude calculation is done in the Impact test Sounds and vibration program in DAQmx? Are there any documents that describe this or anyone with experience using an impact hammer and an accelerometer to find the (response/impact) measurement?

 

Thanks!

Suggestions for Utility of LabVIEW for commercialising a monitoring and controlling a product

$
0
0

How good is LabVIEW for coding the software for a product which is to be commercialised.?

In other words, how can I better provide an interface to the end user and protect my in- bulit software  from decoding and reverse engineering.?Is LabViEW  a good option for such a requirement?

 

Kindly provide suggestions/solutions.

 

Attached is the general view of labVIEW  and the hardwares that it controls.Thanks

Simplest method in finding a Numeric Palindrome

$
0
0

Hello everyone!!

 

Below is one method of finding a numeric Palindrome.
PALINDROME.PNG

Is there any way in which functions used can still be reduced. I have tried with T/F strings, mathematical approach and applied further more logic's. But, at max 3 functions were used in all of those, whereas the requirement is 2 functions.

 

 

We can't help everyone, but everyone can help someone.. Smiley Happy


(DAQmx) Reading Circular Disc Profile Using Eddy Current Probe.

$
0
0

Hello Every one,

I want to setup a DAQmx voltage task to read Circular Disc profile using eddy current probe.

Disc is rotating at 200 RPM scanning every row. (Plz Refer attached image )

eddy current probe is shifting to next row after completing one rotation (360 Degree) till last row .(Total number of rows are 32) For Every row circumference is reducing.

I reading data for complete single row when i get trigger for one rotation is complete using DAQmx Read function.

But at the end after collecting all Rows data i m getting array size different for each row 

i have kept 

Continues Sample with Multiple Channels

Sample Clock Rate = 10000 and Samples = 5000

and For Read Function No Samples = (-1) kept floating (Which is in while loop) i m taking data out from Read pallet when i get one rotation is complete trigger (Used Case Structure) 

 

I m plotting this Data to Intensity Graph but due to change in array size for every cycle defect position also gets changed . i m plotting it to the 0 -360 Degree range

 

I would like to know what Design pattern should i used and Sampling Rate and No. of Samples . 

 

 

Best practice: read data from disk and share value throughout application?

$
0
0

Hi,

 

I have a problem (or maybe I do not). I'm searching for the most efficient way of doing this.

 

Currently I'm reading a number of parameters (beloning to a specific actuator) from a config file. The value's are stored in functional global variable in protected scope. Further more I have a GetValue VI that is getting the parameter values from the functional global.

 

In Short I have: Class "Actuator" with VI's:

       1. ReadFromDisk (private) 

       2. ChangeParameters (public)

       3. ParametersFGV (private)

       4. GetParameters (public)

 

Is there a better way of doing this? I cannot seem to find a way. If I need to add some kind to clarify, please ask.

 

Kind Regards,

timer with pause option

$
0
0

Hello all, 

I have designed a  elapsed timer VI with pause button but I need some other ways/strategies to have a Elapsed timer express function with the pause option. when the pause button is on it should be in pause state and pause button is off it should continue the action . pls find an attachment

get data from bar code scanner

$
0
0

I have the barcode scanner (kb-emulation).
I need to get data from it IN shadow loop.
I.e. I have main window where is user interact with the application. And if the user scan code, the data should be checked in DB and another processing.
So, I can't use string control, event structure etc.
Vi from connectivity -> inp dev control has some trouble.
If I set small timeout, I recive dublition simbols, and if I set normat timeout, I can loose data (see screenhots).
And the same time in notepad (emulation of main window) I get normal data.
How can I get correct string data?

scan1.pngscan2.png

Plot with force vectors in 3-axis

$
0
0

Good afternoon!

 

I've got a problem with drawing plot with force vectors in 3-axis. I tried using 3D Scatter Plot Helper but it only draw dots on the graph.

I've got from my measurement three values of the force - Fx, Fy, Fz.

I'd like to make my plot like on the attached image.

Do you know how to make it easily using LabView?

 

 

Best regards

Misiek

Viewing all 66762 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>