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

Re: Need VI for Physik Instrument linear actuator M - 238 5 PL

$
0
0
Dear sir/madam, Thank you for the msg. I am using Labview 2014 and you have given me 2017 file so i could not run. Can you kindly share the picture of the control panal ? Thanks

Re: find all instance or references of a data binding

Re: LabVIEW have free library to interface with SIEMENS PLC S7-1200?

$
0
0

"Version:1.0 StartHTML:000000271 EndHTML:000055619 StartFragment:000054658 EndFragment:000055442 StartSelection:000054658 EndSelection:000055442 SourceURL:https://forums.ni.com/t5/LabVIEW/LabVIEW-have-free-library-to-interface-with-SIEMENS-PLC-S7-1200/m-p/3796880 LabVIEW have free library to interface with SIEMENS PLC S7-1200? - Discussion Forums - National Instruments

Last but not least you have Snap7, an open source C driver which actually even has a LabVIEW wrapper for it. The C part is pretty cool, the LabVIEW wrapper part is however less than optimal in my fully biased opinion. This is a voluntary project and the protocol Siemens is using is mostly undocumented, so they had to reverse engineer everything. It only supports the old fixed location data elements from the earlier Step7 projects and not the newer "compacted" data elements that are standard used in the TIA type projects. In order for Snap7 to be able to read and write data blocks in the PLC you have to set in the Siemens project the according data block groups to not be compacted!"

 

Snap7 does looks interesting for me since it already has Labview wrappers included and I want communicate with S7 1200 PLC.

Since there is no datasheet for it...Is there any good forum discussion or reference about it somewhere?

I found this:

http://snap7.sourceforge.net/ 

but nothing specific using labview wrapper. For example, I opened wrapper for reading/writing to PLC datablock. Looks like this:image.png

Maybe somewhere reference to understand parameter passing? For example, I don't know how DB Number is defined? What does it mean, there to define this? At PLC side?

 

Re: Taking the data from a filler input and acquiring the data from an associated table

$
0
0

Try Interpolate 1D Array and Threshold 1D Array Functions

Re: find all instance or references of a data binding

$
0
0

Hi ,

thanks for your feedback. I think there is  a misunderstand. I should may be  better describe my problem. In my LabView-Projet I habe a Variable with a data binding. Right clic on that variable --> propertiy ---> data binding --> comes up a winow with Pfad opc://localhost/CoDeSys.OPC.02/.sPmsWfPset

 

Question: Can I use only "sPmsWfPset" to find the variable in Projet? If yes, how? Is there a fonction for it?

I try to find the Variable only with sPmsWfPset. Is it possible?

 

Best regards,

Brice

 

 

Re: Taking the data from a filler input and acquiring the data from an associated table

$
0
0

Hi,

 

       Tried threshold 1D array already but to no avail. Tried to interpolate also, but I can't connect the array to that. Any other suggestions?

Thanks for your help anyway Smiley Happy

Re: Record data at every 50ms

$
0
0

 wrote:

How to record the data at every 50ms?


What data?  How are you acquiring this data?

Re: NXG cannot get online help. NGX crushes by login.

$
0
0

Hello,

actually the problem was not solved. I've tried to install 2.0, 2.1 (crashes). Now NXG 1.0 does not crash, but just does nothing. Ctrl-H works, but "More Help" doesn't do anything. Our IT checked if it's our Firewall, but they cannot see any blocked actions.


Re: Taking the data from a filler input and acquiring the data from an associated table

$
0
0

Of course you can't do it with strings. It works only with numbers

interpolate.png

Re: Taking the data from a filler input and acquiring the data from an associated table

$
0
0

Hi,

 

       Can I do it in the 2011 version? If so are the functions same?

Re: .NET Callback Event VI keeps the Callback VI reserved even GC.Collect() is used in Labview 2018

$
0
0

Hi, thanks for the info.

So I'll hope for a solution in the future ..

Meanwhile I develope in LV2017 and copy it to 2018 folder ... nice for Subversion :-)

Hans

Re: Taking the data from a filler input and acquiring the data from an associated table

$
0
0

Of course you can. This is a base functions

Re: Record data at every 50ms

$
0
0

It always "helps us to help you" if you provide some code (actual VIs are best), as this will answer several "unknowns" -- what Version of LabVIEW are you using, what do you mean by "record the data", where are "the data" coming from (are you "acquiring" it from hardware, simulating a process in software, etc.).  It can also give us a hint as to your level of LabVIEW Experience (so we don't start talking about Actor Framework to someone who has never used LabVIEW before ...).

 

So, what data?  Where are you getting this "data"?  Is hardware involved?  [And the other questions/suggestions mentioned above ...]

 

Bob Schor

Re: Missing block diagram(s) (not deleted)

$
0
0

Thanks for the thoughts.

 

I set this up for .vi and .vim.  Is it wise do likewise for other file types, even those that are nominally pure text? (e.g.: .lvclass, lvproj)

Re: Vi stays open after closing the project.

$
0
0

Have you tried to get a list if vis in memory?  Some Frameworks intentionally keep stuff around.   UTF and VIA come to mind. ..


Calling Silicon Labs DLL From LV2012 vs LV2017

$
0
0

Hi guys,

 

Does anyone have a clue as to why the DLL, described below, behaves differently when only the LV Dev version is changed? I can run in LV2012 just fine but LV 2017 SP1 f3 is no good. I'm in the middle of upgrading all development code to 2017 and am currently stuck on this issue. 

 

We use a Silicon Labs CP2130 DLL "SLAB_SUB_SPI.dll" file version 1.2.0.1 product version 6.7.5.(0) USB-to-SPI Bridge converter. It works great in LV 12.0.0 64bit but does not work LV 17.0.1f3 64bit. 

 

NI-VISA 17.0 and MAX 18.0.0f0 are installed on my PC. The DLL is located in a project. Running a simple open close test VI in LV 2012 works great. Running in LV 2017 under the same exact path throws error code 17 when passing a pointer handle to "CP213x_GetOpenedVidPid()" call library function node. The pics below show this. After running once in LV2017 the device port is corrupted and has to be relocated to a new port before it can be detected again. I'll be posting to Silicon Labs as well to see if they have any insight.

 

 

CP2130_LV2012.PNGCP2130_LV2017.PNGCP2130_LV2017_BD.PNG

 

This thread seams to hint at a solution by updating the DLL to a different version but doesn't actually explain what is happening behind the scenes.

 

Connecting Labview and Siemens S7 1200 PLC using Snap7 library lv_snap7.dll

$
0
0

I want to use lv_snap7.dll library but I cannot found it on the internet.

 

Does anyone has it and want to share it, or anybody know where can it be downloaded.

 

From THIS reference it only can be downloaded library called snap7.dll. And also lv_snap7, lv_snap_7.h and lv_snap7.def are there.

I don't have dll creators and I don't know how to do it.

 

Please help me to find lv_snap7.dll library!

Re: Chart History Length in Loop

$
0
0

Thanks a lot for your answer.

When I use random numbers (from the function palette) as input, the diagramm is showing all values and the x axis gets dynamically rescaled, which is exactly what I want.

As soon as I use the myDAQ DMM, only 3 values are displayed.

Re: Problem Installing LabVIEW 2017 SP1 F3 Patch

$
0
0

I was actually downloading the incorrect bit version (64 versus 32) and that was giving me problems. Thank you all for the help. 

Re: DETT Trace private methods

$
0
0

As I use AF a lot I use: 'AF Debug.lvlib:Generate Custom Trace.vi'.

 

Make sure that you have 'User-Defined Trace Events' selected in capture settings in DETT

Viewing all 202062 articles
Browse latest View live


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