Quantcast
Channel: All LabVIEW posts
Viewing all 204052 articles
Browse latest View live

[VISA Clear in LabVIEW Interface for Arduino.lvlib:Init.vi] ERROR HELP!

$
0
0

Encountered this error when I try to run a simple LED example vi.

Any solution for this error?

I am using a Arduino Uno board.

The board can be recognized as I can see it listed in the Device Manager.

I have installed the latest NI-VISA driver.

I have installed Labview Interface for Arduino and also LINX.

I have installed NI-SERIAL.

Any help is greatly appreciated~

 


Re: Optimizing a search for duplicate files in a filesystem

$
0
0

Why don't you try Duplicate Files Deleter? It will do a thorough search of your hard disk and find out the two or more duplicate files of the same file which may be stored at different locations. It will give you a comprehensive list of all those files and you can decide for yourself what you want to do with them. It's easy to use. Hope it will help you.

Re: crystal reports

$
0
0

Hello, 

thx for ur reply

Shreyas.U :the vi run without error!!

Dirizabal: i tried but i still have the same problem!!

Yokogawa DL850 Scope

$
0
0

Bonjour à tous, 

 

Nous venons de recevoir une centrale d'acquisition Yokogawa DL850 et je souhaiterai la piloter via LabView.

J'ai pour cela, dans un premier temps téléchargé les drivers associés via le lien suivant (sachant que je travaille avec LabView 2016):

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=97D0868FF181418FE04400144F1EF859

 

Un technicien de Yokogawa m'a également conseillé d'installer un plugin supplémentaire via le lien suivant:

http://www.ni.com/example/31611/en/

 

Après plusieurs essais, j'arrive à communiquer avec l'oscilloscope via USB et je suis dans la capacité de configurer mes différentes échelles, activer ou désactiver plusieurs channel. Mon problème survient au moment où je veux récupérer ma courbe, j'ai un message d'erreur qui apparaît:

Code erreur : -1073807339

<ERR> YKDL850 Wait for Acquisition Complete.
Timeout expired before operation completed.

 

Avez-vous une idée de comment je peux régler ce problème ?

Je vous joins le VI avec lequel je travaille

 

Merci par avance

Re: Yokogawa DL850 Scope

Re: EEG signal processing

Re: Re-initializing my array with reset button

$
0
0

Hey cbutcher, 

 

Ive tried creating those clusters but I dont really understand what you meant by this

"In this case, you should probably consider a Cluster containing all of your arrays, which you can then use on the Shift Register. When you want to write the values, use Bundle By Name, and when you want to access the data, use Unbundle by Name. You can use simply Bundle and Unbundle if you want,"

 

I am not sure how to go about doing it. I have tried switching those feedback nodes back to shift registers and indeed, the wires are all over the place. 

 

Attached is my cluster, let me know if I am right or wrong Smiley Happy

 

BD2.JPG

Cheers !

 

Re: Imaq Create Not Creating Unique Image

$
0
0

-Can you provide the screenshot of your front panel and Block diagram after running the code?

-Does your File names list all the images?

-Can you upload couple of sample images which you have?

 

 


Re: Imaq Create Not Creating Unique Image

$
0
0

I found what the issue was. My IMAQ Create file had been corrupted and wouldn't create a unique image from a unique name. I copied my coworker's version onto my computer and ran it again and it worked perfectly.

Re: IVI driver not working after building application. Getting error 103 "No IVI class session opened...."

$
0
0

Could you please share which driver and which version(check the header file or history) fixed the issue? Thanks!

Re: How to save recorded data on front panel Labview

$
0
0

Well, you need to program such feature. One option is to have a log file, where you save the actual values of your calculations at a given frequency. If you get a power failure, you restart your code, and you can load the last saved file content into your code.

 

Edit: another option is to buy a battery powered UPS so your PC will still run in case of power outages... Smiley Happy

Re: Re-initializing my array with reset button

$
0
0

Jarrold wrote:Is it possible for you to show me an example so that i can better relate and learn from it, cbutcher?

Yes. I'm attaching your VI (possibly you've made improvements since this copy, but hopefully you can see the idea and just implement it in your code if you have) with a cluster for Time and Temp measurements. The cluster is defined in the case that measures the temperature (but it probably shouldn't be!) and then a Linked Input Tunnel is used to ensure the wire is passed by default through other cases.

 

The reset case wires empty arrays to both in the Bundle By Name node we discussed.

 

You should make the cluster a typedef (right click on the little pink box and click Make Type Def.) and add it to your project. You can do similar things for the readings on other panels, hopefully allowing you to reclaim some of your screen space Smiley Happy

 

I also removed the confusing (to me) loop for the Time Array. Hopefully it still does what you want, if not, just use what you already have. I use a Build Array with only one input to make a 2D array if you want that display - I didn't really understand what you meant in your recent post about the 1D/2D indicator, so I wasn't sure which you wanted.

 

Re: [VISA Clear in LabVIEW Interface for Arduino.lvlib:Init.vi] ERROR HELP!

$
0
0

It sounds like if you're sure you have the correct COM port, the remaining possibility is that you didn't flash the Arduino with the correct firmware. I expect this is easier to do with a different tool (like the Arduino desktop application).

Re: Envirotronics Solutions Plus Controller

$
0
0

Hi,

 

The manual for the Solutions Plus controller is available here. In terms of LabVIEW programming, I expect the information you want is under the Remote Communications chapter, beginning at page 33. 

 

Communications can be carried out using a serial connection with a collection of settings that have to be selected on the controller, presumably using the non-remote interface (i.e. the screen). The remaining pages of the chapter give a brief summary of the effects of each command that can be sent to the controller.

 

To program these in LabVIEW, you'll presumably want to start with the VISA Configure Serial Port node, which has inputs for the same values that you set on the controller (Baud, Number of Bits, and so on). Then, you can use the VISA Write and VISA Read nodes with string constants to create small SubVIs which carry out a specific task, and format the output that is returned in whatever manner suits your application best.

 

 

Re: binary to decimal


Re: Regarding .wav file to readable string conversion

$
0
0

Hello, In the attached file I m converting the audio input to readable string and from the input waveform get back audio file as output but in this I m getting very much noise or the string is not the exact string? How can I remove the noise or how to get the exact string? 

Audio is also in binary format but i am unable to find the binary format of audio file. kindly help me.

Re: Simulating signal from event structure

$
0
0

I just tried adding an "Event Timeout" case, but the waveforms are still locked... I'm guessing I'm understanding you incorrectly.. (Sorry, I'm sort of new to LabVIEW)..

Re: Re-initializing my array with reset button

$
0
0

cbutcher wrote:

Jarrold wrote:Is it possible for you to show me an example so that i can better relate and learn from it, cbutcher?

Yes. I'm attaching your VI (possibly you've made improvements since this copy, but hopefully you can see the idea and just implement it in your code if you have) with a cluster for Time and Temp measurements. The cluster is defined in the case that measures the temperature (but it probably shouldn't be!) and then a Linked Input Tunnel is used to ensure the wire is passed by default through other cases.

 

The reset case wires empty arrays to both in the Bundle By Name node we discussed.

 

You should make the cluster a typedef (right click on the little pink box and click Make Type Def.) and add it to your project. You can do similar things for the readings on other panels, hopefully allowing you to reclaim some of your screen space Smiley Happy

 

I also removed the confusing (to me) loop for the Time Array. Hopefully it still does what you want, if not, just use what you already have. I use a Build Array with only one input to make a 2D array if you want that display - I didn't really understand what you meant in your recent post about the 1D/2D indicator, so I wasn't sure which you wanted.

 


Hi cbutcher,

 

Firstly, I would like to thank you for all your help. I am really really thankful for the kind guidance and advice you gave me. Without your assistance, I wouldn't have been able to complete it. 

 

So back to the project, I am actually very curious because initially, I right-click the small box and selected "Use default if unwired" but it didn't work the right way. Then i tried to connect up all the boxes individually and it worked. What is the logic behind it? Visually, I can see that the little box is different but I do not understand what is the difference. Care to share? Smiley Happy

 

Meanwhile, I will try to implement it on other panels as well. Anyway, with regards to your query as to why I need to convert it into 2D, it is for report generation purpose. In my report generation VI, it requires a 2D array as input that's why.

 

Once again , thank you and hopefully you will not stop here cause I still have many things i could perfect on. 

 

Yours sincerely,

Jarrold

Re: Re-initializing my array with reset button

$
0
0

Jarrold wrote:


Hi cbutcher,

 

So back to the project, I am actually very curious because initially, I right-click the small box and selected "Use default if unwired" but it didn't work the right way. Then i tried to connect up all the boxes individually and it worked. What is the logic behind it? Visually, I can see that the little box is different but I do not understand what is the difference. Care to share? Smiley Happy

 


If you're talking about the cluster wire at the edge of the case structure, then I clicked "Linked Input Tunnel > Create and Wire unwired cases" or something similar. If you use "Default when Unwired" you'll get the default value of the cluster, which is empty arrays. You could do this for the Reset case, if you wanted, but then the icon becomes a box in a box, or something. This indicates that not all cases have a value wired to that connection. For shift registers, you usually don't want this - in most cases, you want to keep the value (or change it) and resetting to default is probably only one case.

 

If you wire it explicitly, then it becomes a filled box. This indicates that all cases have a value specified.

 

If you make a linked tunnel, it adds a small arrow. This indicates that if you create a new case, it will have a wire straight through it, connecting the two sides by default.

Re: [VISA Clear in LabVIEW Interface for Arduino.lvlib:Init.vi] ERROR HELP!

$
0
0

I did run the LINX Firmware Wizard to load the firmware into Arduino.

Yes, everything works fine when I am using Arduino IDE but not when I am using Labview.

Thank you.

Viewing all 204052 articles
Browse latest View live


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