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

Can we use HC-SR04 Ultrasonic sensor only with myDAQ ?

$
0
0

Actually i wanted to use HC-SR04 Ultrasonic Sensor using myDAQ alone without any arduino board, with myDAQ i need to provide TRIGGER and using DAQ assist i have to analyze the magnitude and signal obtained from ECHO,

Can i get suggestions or help in making that possible in LabVIEW?


NI 9467 - Error 65640 The firmware on the module is not compatible with this version of the NI RIO software

$
0
0

Hello!

 

I have cRIO9063 (CompactRIO 17.5 drivers) with NI-9467 module, trying to test it with standard examples (NI 9467 Getting Started),  receive error 65640 - The firmware on the module is not compatible with this version of the NI RIO software. Please visit ni.com for instructions on how to update the firmware (See attachment). Firmware version is B020B. Some one is familiar with such situation and it's possible to update NI-9467 module firmware?

 

Thank You!

Any idea how to replace power of X function in FPGA?

$
0
0

Hi all,

Any idea how I need to use power of X function in FPGA. It is not available there, any idea how it works in FPGA?

 

"Automation Open" (ActiveX) to open the Teklynx-Codesoft tool (lppa.exe): "0x8007000E: Ran out of memory" error

$
0
0

Through an "Automation Open" (ActiveX) I access the tool Codesoft "(Teklynx) to make prints. See the attached Vi.
The Codesoft works with a license on a server or license on a USB stick. If I use the server license everything works fine, instead if I insert the USB key with the license into the PC the "Automation Open" returns the error "0x8007000E: Ran out of memory".
The input for the "Open Automation" (LabelManager2.IApplication) is the "C:\Program Files (x86)\Teklynx\CODESOFT 9\lppa.exe" file.

Has anyone else had this same problem ?
Suggestions to investigate the problem ?
Is there any other way to use CodeSoft with Labview ?

I tried with labview 2012 and 2015. I tried on different PCs with windows 7 and 10. I tried different versions of codesoft: 9 and 2015 without success.

Thanks in advance.

create a simulation scene (robotic module)

$
0
0

hello

i'm asked to deal with a project which aims to realize a robotic arm.but before i'm asked to create a simulation scene in labview in which i'm gonna simulate the performance of this arm.so i ask u if u know how can i realize this scene, can i upload a scene that i create using solidworks?? 

also, if someone can help me and tell me how the scene in the picture below was created (it's taken from the help in labview) (if there's someone who can send for me the labview code which permits the creation of this scene)

thank you

Using NI USB - 6525 with Labview Mac OS X

$
0
0

Hello,

 

I have difficulty to use NI USB 6525 with mac.

 

I have installed Labview 2017 for mac and Daqmx base 15.0 (but Daqmx base doesn't include USB-6525)

 

Is it possible to use NI USB 6526 with mac?

 

Thank you.

Labview 2016 on Windows 10

$
0
0

Hello all

 

i created project with DSC module in labview 2016 32bit and running on windows 7 professional 32bit.

now we are moving to windows 10. i want to ask that is my labview 2016 32bit can run on windows 10 and also my previous project?

 

Thanks,

Asif

How to store array of 'set of coordinates' into database table

$
0
0

I am struggling to store an array of (x,y) coordinates of a particle/blob in a database by creating a table such that:

Column: represents a particle/blob in AVI

Row: represents a frame number of AVI

Each cell of table: represents a set of (X,Y) coordinates of all the pixels available in a partcular frame.

 

I have created a table with a single column which represents a single particle/blob of a AVI and rows corresponding to a the number of frame numbers. The LabVIEW doesn't display the array on the table (Array gets converted into Binary datatype which is non displayable), so I even tried to convert the Array(Array in front panel) into string by using Flatten To String.VI. But, even after converting the array into string, still the table doesn't display the 'set of coordinates' as string.

 

Can someone give me insight into how i can store such 'set of coordinates' in a single cell of database table? Also, how can I extract  a particular row (corresponding to a frame number) from a table since a a row is simply named as 'VALUE' in a table (Check Capture image)


LABVIEW

$
0
0

I have a digital input and digital output ,i want my digital output to turn off after 10 sec after i turn on my digital input, which VI should i use fo rthis application??

LabVIEW NXG - Array of Color Boxes

$
0
0

How can I create an array of colour selectors without the frame/drop-down arrow? This was easy in LV2017 (array + classic colour box) but there doesn't seem to be a way to turn it off in NXG and I can't seem to duplicate the G-Type to try and remove/skin it?

 

This is what I mean:

2018-02-26_14-35-00.png

 

I thought I had a nice simple application I could write in NXG but it 100% relied on being able to draw/edit a grid of colours.

 

(There is also no picture control, which would have been my other solution)

 

Any ideas/solutions/workarounds or am I going to have to continue in LV2017?

Font panel ad block panel wrapped and overlapped

$
0
0

I have made a VI on a lab computer with XP OS and Labview 2011. 

Now when I move it to my work computer with W10 OS and Labview 2015, objects and fonts on both front panel and block panel wrapped up and overlapped. I show the front panel here, but it is worse on the block panel since nothing can be read.

 

For smaller VI, I can live with it. But for a large VI, this means I cannot work it on my work computer. In general, when I start Labview program on m work computer, everything is quite small and the tool bar cannot be displayed completely. The resolution of my work computer is 3200*1800 as recommended and I have scaled the size of text and apps to 200%. However, this does not seem to work for Labview. 

 

Anyone has a clue? Thanks a lot.

 

Capture2.PNG

Timing less than 1 ms/loop iteration needed

$
0
0

Hello everyone. I ran into a pretty nice timing frequency problem. A short description of what I'm working on: I've created a "bidirectional sofware router" which sends UDP-datagrams from our common TCP/IP network to AFDX (Avionics Full DupleX) network and back as well. When running the "router", 2 types of Reentrant VI clones are being executed: WRITE PROCESS VI - for parsing the incoming UDP-datagrams and forwarding the payload to AFDX network specific channels; READ PROCESS VI is for redirecting AFDX datagrams back to our common network. Each of 8 Read-VI clones enqueue the received data into the named FIFO (see 1st screenshot). Then it's being dequeued in the main loop (see 2nd screenshot) and the data is being written into the UDP-channel.

If you have a look at the Dequeue Element function - the timeout value is set to its minimal value of 1 ms. And it seems 1 ms is not enough: the quantity of elements in the queue is growing. The problem is that less timing (i.e. 0.9 ms - it would be enough) is impossible as well as setting the value to -1 (the loop will consume all CPU resources)... I see no other way than creating an additional parallel loop, one more queue and one more udp-connection to distribute the load... That's weird anyway! And what do you think? I'll appreciate any advice. Thank you!

Control of power supply EX752M.

DAQ data synchronization with file read

$
0
0

Hi,

I am trying to do data acquisition using DAQ in real time and reading data from already existing file (which contains signal of 1000 samples per second for a certain time). I am not able to achieve data acquisition at 1000 samples/sec but its able to read signals at 1000 samples per second but 1 sample each loop. In that way the frequency of both the signals are not matching with each other. How synchronize both the signals in terms of frequency.

Disabling a development license

$
0
0

I bought a laptop, installed the LV 2015 Professional Development System on it and used it for a month.  Then the laptop's processor died.  The vendor wants the unit back for service with the OS drive installed.  That's fine, but I worry about someone swiping our LabVIEW license. 

 

I can't boot the laptop and do a proper removal but I could extract the drive and externally manipulate the files on it.  Does anyone know what files I could move off of that drive that would disable the development system and remove our license info, but make for an easy restoration when the unit comes back (assuming, of course, that I get the same laptop and/or drive back)? 

 

Thanks.


Can you output multiple digital voltages at once using DAQ assistant?

$
0
0

Hello, 

I am trying to build a labview code that lets me output an identical analog voltage from 4 unique digital outputs on a NI DAQPad-6259. I wanted to use 4 separate DAQ assistant VIs for each voltage output channel, but while running more than one of the assistants, the program cancels with the error message:

 

"NI Platform Services: The specified resource is reserved. The operation could not be completed as specified."

 

I was curious to how to fix this issue, and if this is just a DAQ assistant VI problem or a device problem. I did wire each DAQ VI to a unique analog output channel.

 

I have attached the code below, I am new to LabVIEW and this is my first time working with a DAQ.

Saving a Large .wav file

$
0
0

Hi there,

 

I am attempting to save a very large .wav file.  I have already programmed a way to read in four large .wav files and then have merged them into one (using Sound File Read.vi and reading in chunks).  My problem arises when I try to save them.  I can't figure out a way to save in chunks - it appears that you can not append to a .wav file using the Sound File Write Simple.vi.  It seems to only allow an overwrite of the file.

 

Has anyone figured out a way to do this?  Any suggestions would be awesome!


Thanks!

Arduino Yun with Labview Interface for Arduino

$
0
0

When initializing the Labview Interface for Arduino (LIFA), am I limited to only the board types seen in the drop-down menu? I am trying to control an Arduino Yun stepper motor using the LIFA. Please see attached image for reference. Thanks.

Array is expecting a 1d array of void? Not double as expected.

$
0
0

Hi there, 

For some reason my script here, where i read in a wav to an array is not working. I cannot write the double values to the array as it is expecting a '1d array of void' as opposted to the double values i thought it would expect?

 

Any help is appreciated.

 

Watter

Producer Consumer with Dynamic Data

$
0
0

Hi all,

For a project I am working on, I would like to use the Producer/Consumer model to take measurements from a DAQ. The processing order as I imagine it is:

1) Four queues are created to communicate between producer (data acquiring) and consumer (data analyzing) loops. (I use an arbitrary dynamic signal at the start just to tell obtain queue what kind of queue to make).
2) Inside Producer: Using DAQ assistant, I take four dynamic signals and continuously append them to their respective queue. There are 4 because I am using an XYZ accelerometer and a microphone.

3) Inside Consumer: Every 1 minute, I want to flush each queue and find the maximum value during that one minute period. I want to log the maximum of the set to a file as well. But I have left this part out because it does not pertain to the trouble I am having. 

I have attached a VI which I believe does the producer consumer on a single channel. I would like to extend it to work for all four and I will do so as soon as I can fix this. I keep getting Error(1) when enqueue-ing!

Best, and thank you,
Victor

Viewing all 66787 articles
Browse latest View live


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