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

A signal is 90deg-phase-shifted on LABVIEW FPGA

$
0
0

Hello,

I am using the NI PXIe 7279R module with NI PXIe 5733 ADC converter on FPGA unit. I want to shift 90deg-phase of the input signal on FPGA. Unfortunately, on FPGA program, there is no Hilbert transform function for shifting the phase of the signal.

Could you please help me solve my problem? I  am a beginner for LABVIEW FPGA.

 

Thank you very much.

Dong

 


Frequency generation at particular intervals

$
0
0

Hi everybody,

          I want to generate a signal for particular frequency and i need to start and stop at particular frequency say at mhz with amplitude scale factor from 0.1 to 0.9 and step size in khz, can anybody explain about this? see this link  'https://www.spectraplus.com/DT_help/frequencystep.htm'

Thank you

adding trigger to oscilloscope

$
0
0

Trying to add trigger to oscilloscope. I want to use the trigger as subvi. But have no idea how to do that. Here I am trying to search the data to find the index at which the trigger condition occurs, and then using that index to cut off the pre trigger portion of data and keep next samples to display.

 

Could someone please help me. 

How to get a smooth plot?

$
0
0

Hello Everyone,

 

I have a set of X and Y axis values and I need to plot them as a smooth curve (like: Attachment- Smooth.png) but I get a rough plot with sharp edges (Attachment - Output.png). Could you help me to get the smooth plot?

 

Thanks for your idea..

Digital Pulse Genaration and Polt same on Grapg with diifferent Duety Cycle

$
0
0

Dear All ,

I am working on cRIO 9014 with 9472. I am able to genarate a pulses with different duety cycle. Can any body help me to Plot the pulses in graph. PLease find the attached file.

 

Regards,

CeryleTech

Labview 2016 Compact RIO on Windows 10

$
0
0

Hi,

 

I am trying to test Labview 2016 Compact RIO on Windows 10 64-bit, as the company is moving to Windows 10. To make the test, I run it on a Virtual Machine, as I have 2015 running on Windows 7 and it works.

I managed to install 2016 on the VM, but when I start MAX, it complains for the driver.

When I try to run NICRIO1600 on Windows 10, I have an error message "The specified path does not exist." (See attachment.)

Is there a known problem on it? What path does it searching for? Any help would be appreciated.

 

Regards,

 

Zoltan

Data acquisition

$
0
0

I have the following equipment

NI 9234, cDAQ-9188 and an accelerometer PCB 352C03.

My question is,  do I need signal conditioner or charge amplifier to connect accelerometer to NI 9234 or is it possible to connect accelerometer directly to Input Module?

 

Regards

Din

Creating an Windows Installer for Labview vi

$
0
0

Dear Labview community,

 

I just finished a labview vi for a course in university and now have to build an exe/installer to make it usable on a windows pc without labview on it.

 

I built the installer to make labview runtime 2016 accessable on the other pc and an .exe to use my vi. But it wont work. When trying to start the .exe it looks for specific drivers and doesnt seem to find all it needs. it looks for a library called instr.lib and in specific  it seems to need a subfolder including some kind of .dll or .exe that is not present.

 

But trying to execute the .exe on the pc with labview on it, everything works fine.

 

Do you have any ideas what could be missing in the installer or exe?

 

best regards,

Michael


ActiveX Library behaving differently in IDE and Runtime (Adressing a Horiba Spectrometer)

$
0
0

Hello,

I have a problem with an ActiveX-DLL. The DLL is used to talk to a Spectrometer. If I run the VI from the development environment everything works. If I build the exe and run it, the DLL throws an error ("SDK Hardware Key not found. Insert Key to continue").
There is already a thread for this library and problems with it (https://forums.ni.com/t5/SignalExpress/Error-quot-SDK-Hardware-Key-Not-Found-quot/td-p/786744/highlight/true/page/2). Someone even postet the problem with the runtime but got no answers.

I attached the code as a screenshot.
I'm using Labview 2014 32bit on Windows 7 64 bit.

Has anybody an idea what might be the problem?

Thank you very much for your help.

Kind Regards
Michael Roth

Diagramm of PSD vs frequency

$
0
0

Hi!

my name is Carlos and I need to do a PSD diagram vs frequency. I have my signal's data in an array and the sample rate is 250Hz bust I don't know how to put all this together...

I would be really grateful if somebody could help me....

Thank you very much 

Carlos

Problem when using the Myrio onboard LED

$
0
0

Hey,

 

i have some questions about my Project, which i already posted on this Forum. I am using the MyRIO 1900 and Basler camera to compare two Images and Highlight the differences. I have a vi which is working. but i have some question:

 

1) I am trying to use the onboard LED of the Myrio device to registrate any difference between the two Pictures. it doesn't go on. even when i write a constant (0 or 1) on on of the on board LED it doesn't work. I don't know what i am doing wrong?

 

2) secondly, i will like to save the compared Images and the result of the comparison on the Myrio (only when there is a difference). but i think saving too many Pictures on the device will take too much space. so is it better and posible to use the Report Generation and write this Pictures in word before saving them? that means if there is a difference between both Images, i will like to Report the result of the comparison in a Excel or word with 3 Images ( I_t1, I_t2 and the result of the comparison).

you can get a look on my actual vi

 

Thank you for your help

Problems with Arduino UNO and usb camera

$
0
0

Hello, 

it's my first topic on this forum, so please be forgiving, and note that english is not my native language.

I'm trying to create program that allow me to control homemade pupillometer.  

I have thorlabs camera uc480 with i connect to my coputer by usb. unfortunately MAX can't see my camera. I control my camera with uc480 .NET LabVIEW interface. Everything works fine (live streaming, init camera, saving images) until i try to create program that comunicate with both arduino uno and camera. 

When i run program that control arduino and other usb camera (i use IMAQdx for control camera) it works fine, but when i switch to program where i'm using uc480 .NET LabVIEW interface i have problem connecting with arudino uno. I receive error Error-1073807202 occurred at VISA clear in LabVIEW Interface for Arduino or Error 50002 at Init. 

When i reset arudino after turning on my vi it starts working but then i have problems with my camera. Only one shot form camera is taken and then i receive error invalid image type at IMAQ ArrayToColorImage. 

I'm very confused because separate my programs works fine, but combining together communication with camera and arduino uno create problem.

I attached my VI.

Any clues? I will be gratefull 

I'm using LabView 2016, and i have Win10

VI Performance with overlapping hidden subpanels

$
0
0

I am debugging some performance issues with a large Labview user interface program.  In order to break the large number of controls into usable groups, I am using several subvi's that are called at start and run asynchronously in subpanels.  All the subpanels are overlapping, but only one is visible at a time - when the user asks for a different panel, the others are hidden and the relevant one is made visible.  My question is, is Labview still taking time to draw the hidden subpanels?  I'm aware that overlapping controls can impact performance, but I was hoping that hiding the others would eliminate that performance sink.  Any thoughts?

Why UI Control Suite: System Controls 2.0 Not Included

$
0
0

Does anyone know why the package from VIPM "UI Control Suite: System Controls 2.0" is not included in stock LabVIEW by default? I understand the fundamental controls are included because they have native windows API counterparts (or very close to it). However, all other UI sets just include all LabVIEW useful controls.

 

Isn't it about time to include the System Controls 2.0 by default? This will maybe make it easier to take LabVIEW seriously as a programming environment.

 

As a side note, what are people using these days? I like the System controls because they don't looks comical or waste space...it adopts the local UI appearance.

Front Panel changes size when I change the windows font size

$
0
0

Running LV 2015 on a windows 10 computer.  I set up the VI to show all of the graphs controls, etc. on a screen set up at 1600 x 1080 so that it will work on various computers.  In this case the application takes up about 80% of a 1600 x 1080 screen in windows 7.  When I put it onto my Windows 10 laptop which has 1920 x 1080, it shows up fine when I have the windows font setting of 100%.  When I change the font to 125% or 150% the items on the LV front panel grow substantially and no longer fit on the screen.

 

Is there some default setting that I can do in LV (not on a vi by vi basis) to enable/disable this feature?

 

PS  I am also in the habit of not using the default system fonts and will specify fonts and sizes for my controls so that I do not have to worry about things changing relative sizes as I move them from computer to computer.

 

 


Labview Data acquisition over days with only logging/recording of data

$
0
0

Ok here goes...

 

Totally new to LabVIEW. Using the 7 day trail 2017 version. NI cDAQ-9172 with 2 NI9235 connected to windows 10 through USB. The goal is to run 16 strain gauges on a fatigue test and record the data. We figure the amount of data is going to be massive considering we might run for 5+ days so we have decided to only record some of the data. Lets say every 10,000 seconds for .1 second.

 

I tried in Signal express using the log option but failed to be able to save it to one excel file with a point of reference for time.

 

Can anyone point me in the right direction here?

Continuous filtering

$
0
0

I have created modified multi-filter based on VI shared by johnsold in this post. Thanks @johnsold for those VIs.

 

I am calling MultiFilter.vi every 100ms after DaqMx Read and passing 8channel 100 samples data in 2D DBL array format to MultiFilter.vi.

 

filter.pngMultiFilter.viMultiFilter.vi

Though I am able to get filter working, but there's break observed in a waveform. Something like filter restarts. So my query is, how to achieve continuous filtering? Filter.viFilter.vi

Typed variables

$
0
0

In none of this do I want to use a control or even define or use more than a very limited number of controls; I want to perform sequential programing with minimal graphical content.

 

I understand that I can use enumerated types, albeit with difficulty, since Labview is inherently graphical and not as easy or elegant as text programing. But I do not see any indication about to how to create a variable of a particular type, or several of them, without placing graphical images on my "front panel" that would not belong there and have nothing to do with what I want to display. I work occasionally with the book "Labview for Everyone", but the book neatly avoids any such discussion. In real life, I find that Labview applications have huge numbers of unwanted screen objects that, for some reason, have to have Front Panel representations and simply cannot be confined to the Block Diagram and the algorithmic basis of the software. With critical software, this is a huge embarrassment and impediment.

 

Can any thing be done to remove the huge amount of clutter?

Many thanks

 

Mark

Child vi cannot disappear when parent vi rolling up

$
0
0

Hello All,

 

I would like to do call control on demand, the approach i use is async call the sub vi and set it as child window

 

however when i scrolling down the main vi, the child vi seem stuck on the top border

Capture.PNG

 

but it has no problem in bottom or side border

bottom borderbottom border

Saving images to memory and then to hard disk

$
0
0

Hello All,

 

I am working on a system which has some timing constraints while acquiring images (640x512) so as to make faster I need to acquire them in memory but eventually I need to save it on the hard disk.

I have already programmed how to save on memory and disk in separate vi's but don't know how to do it one VI to first acquire in memory and then transfer it in image format(tiff, bmp or png) to the disk.

 

Please let me know.

Thanks

Viewing all 69626 articles
Browse latest View live


Latest Images

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