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

Re: update cluster when typing numeric

$
0
0

sukichan a écrit :

Hi pep91, have a nice day!

 

Your code can slove my problems.

Thanks


Then you should mark pep91 post as the accepted solution, not your own post thanking him.

 

Ben64


CLA: Tips of develop similar code

$
0
0

Studying for the CLA exam, and I am trying to find more tips to speed up coding.  One area of tips that I am interested in is how to duplicate similar code quickly.  To do it correctly, I can use object oriented, but it is a bit more time consuming, so not suitable in the exam in my opinion.  Below are a few ways I am thinking about

 

1. Have a temporary vi open as a scratch pad and put code I use often in it (such a case structure within while loop), so that I can copy and paste code off the pad quickly.

2. Create a set of VIs that I want to copy as base.  Copy and paste those VIs.  Replace part of the content and rename the files.

 

 

Any tips in the area? 

Re: How to program a pneumatic arm

$
0
0
And these other people won't tell you what sorry of parts they have bought or are planning on buying?

Re: CLA: Tips of develop similar code

$
0
0

You could make some templates and then you just "create new from template".

 

Another option would be to make VIs to put in the User.lib and change the palettes to "place VI contents".

Re: system exec not running copy command

$
0
0

And what OS are you using?  I remember reading something recently about trying to put files in the System32 directory does not work directly in new versions of Windows.

Re: CLA: Tips of develop similar code

$
0
0

That's a great idea.  I guess I can't create the template before the exam, but I can create the template at the beginning of the exam.  

Re: Honeywell microswitch

$
0
0
What you have drawn would work, but it has the disadvantage of always drawing current. In fact it draws more current when the output is off. The bottom resistor is shorted out so total resistance goes down an current goes up.

If you look at the drawing Sam posted, I prefer to put the switch between the bottom of Rtop and the junction for Vout. With that arrangement when the switch is closed current flows through both resistors and Vout will register some voltage based on the ratio of the two resistors.

When the switch open, current flow stops and Vout will be pulled down to something very near ground through Rbottom.

Mike...

Do anyone have an example vi that can perform Empirical Mode Decomposition?


Re: system exec not running copy command

$
0
0

I am also curious why you can't use native LabVIEW code to copy a file.

Re: Custom Log data into excel

$
0
0

Dear sir,

 

I got some idea after seeing your code.

 

In my application, There are 24 perameters and the outputs are in String format (Hex data) and i have to write Horizontally in Excel.

 

If you run the earlier attached code it will write the data into excel and I want to write the data in that fassion only.

 

Still I want to reduce the code. Is there any other way to achive that kind of data log file?

 

I am using LabVIEW 2014 version.

 

Regards,

S Nagaraju 

 

 

Re: Honeywell microswitch

ミス

Re: ping several IP's simultaneously

$
0
0

Hi,

Thanks a lot for the VI. It is very useful. My one doubt is Pinginfoview.exe is free to use or do we need to purchase license?

Re: Honeywell microswitch

Re: VISA write buffer

$
0
0

hi

how i write (pwm)by visa labview

thanks


Shared variable not reliable? Problems syncing multiple machines

$
0
0

Hello,

 

I am having some trouble with shared variables.

We need to sync 6 PCs. PC 1 is the "master" which is deploying shared variables, and the 5 slaves are reading/writing the shared variables - each in it's own section. For example there is a life-bit beeing toggled between master and every slave.

 

Sometimes it happens that the setup is loosing it's sync, e.g. lifebit times out. The master is reading "false", the client is reading "true" - both without errors. Also other bits are not transferred. In this case, when the slave is restarted, it's working again in most cases.

 

The SV are accessed programatically using a static IP. The SV is openend, and in case of an error it's closed and re-opened. The refnum stays open all the time. But there is no error - the SV just seems to be not reliable.

 

In total there are 30 SVs, some of them are just bits, others are clusters. They are all written/read in a cycle of ~500 ms on both sides.

Each PC has a static IP, they are connected through a single switch. The switch is part of the (quite big) company network, so that the PCs are also accessable from outside.

 

Is it possible that the SVE can be responsible for this problems? Are there any options to configure the SVE for our needs?
Because of the problems we are thinking about swithing to STM.

 

Thank you.

Re: labview automatically send email when warning light triggers

$
0
0

Posting this here since this is the singapore forum for labview.

I am trying to send an sms using email smtp function. Does anyone know the appropiate smtp and port number for singapore phone carries such as singtel?

 

Best if it uses TLS authentication as well

Re: why labview does not respond to control+'.' ?

$
0
0

Ah, I see I misunderstood the title. I thought you were using Ctrl+?. The period key does work correctly in both languages.

 

Anyway, while it's possible to do things like write a VI which will monitor the keyboard without focus and use VI server to abort all other VIs or set the focus back to that VI, this is probably a good point to say "either take the time to fix it or have the user select the window manually".

 

Also, you might want to join our user group. We haven't had a meeting in a while, but hopefully should be getting back on track - https://decibel.ni.com/content/groups/israel-labview-user-group

Re: slow loading time of Labview executable application on pc without labview enviroment !

$
0
0

Hi,  You can use The PC Optimizer to boost your Windows computer speed and performance. It works on all Windows 10, 8, 8.1, 7, Vista and XP based desktops, laptops and notebooks. Its features include one-click scanning and Advanced Error Detection technology to find all kinds of junk and error files on your Windows system. You can clean them up instantly. Our application lets users defrag their system and registry files, to increase the overall speed and response times of your Windows PC. The PC Optimizer also provides top quality startup management, secure system backup and scheduled scans. The PC Optimizer has been engineered with years of dedicated research and expert innovation. It is quite light on your CPU and will definitely help you get the best PC performance.

 

download this link http://thepcoptimizer.com/en/downloadfree

Re: VISA write buffer

$
0
0
You've hijacked an unrelated thread with a question that makes no sense. Please start a new thread and really explain what you are asking.
Viewing all 203026 articles
Browse latest View live


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