Skip navigation

Community

Blog Posts

Blog Posts

Items per page
1 2 Previous Next
1

When creating a Custom Control, the Control Type options are Control, Type Def., and Strict Type Def..  Which of the following defines the Control Types that could have been used to create the block diagram item shown?

 

Control 1.png

 

a) Control or Type Def.

b) Type Def. or Strict Type Def.

c) Control or Strict Type Def.

d) Control, Type Def., or Strict Type Def.

1

Tomorrow the CLA Summit in Austin starts and I really wish I was there. Ah well I'll have fun in Roma.

 

So just to bring everyone up to speed.....

 

CLA = Certified LabVIEW Architect <--- highest LabVIEW certification.

 

Every year there are 2 CLA summits, one in Austin and one in Europe. A subject is picked (which I usually studiously ignore for my presentation), and 2 days of presentations and a day of round table discussions follow.

 

It's full on! and I have to admit I begin to flag after day 2 and while I'm in confession I'll also admit that sometimes the discussions go right over my head, but that's actually a really good thing. I want to be challenged by the discussions, it's brilliant. For me the main education I now get is from the community.

 

The software process is coming to the fore and currently there's a focus on Agile, LabVIEW fits very nicely with the Agile Manifesto. In fact Kent Beck would explode with joy if he saw the inclusive way most LabVIEW projects are developed. The only thing I would like, is for us to push our own manifesto, I strongly believe that LabVIEW is sufficiently different and rapid that it bends standard processes somewhat.

 

The focus in Europe seems to be more at looking into architectural issues and pulling them apart. Also 6 of the presenters come from our user group CSLUG, it's something of which I'm pretty proud.

 

I'll also doff my cap to the new CLD summits, I attended the latter part of the inaugural summit in Newbury and it was excellent.

 

Austin in March smells nice to my European nose, is it the Cedar?

 

I'm enjoying preparing my presentation this year, it's something a bit different again, hopefully it will sit in the back of peoples mind and niggle away at them. It's been a long time in gestation and explores some thoughts I've been mulling for years now. The start of formalising the concepts started here and in the LabVIEW Rocks section of our book. I really want to get a handle on why I found LabVIEW to be different to the other languages I've used.

 

So if you need an excuse to get certified, it's hard to get and easy to keep and you get to meet up with clever people in nice places, as a bonus you get your brain filled up with ideas.

 

So for everyone who is attending travel carefully and enjoy!

 

Lots of Love

Steve

0

Hallo liebe Mitglieder,

 

gestern Abend fand das 6. Treffen der LabVIEW User Group Stuttgart statt und bereits zum zweiten Mal konnte ein Treffen bei der Firma eines Mitglieds stattfinden.

Vielen Dank an die Fa. Berghof und speziell auch an Frau Dietrich und Herrn Deckelmann für die Organisation, Gastfreundschaft und die Einblicke in Ihre Firma!

 

Das Treffen hat sich wieder einmal für alle gelohnt und ich bzw. die Fa. ProNES freuen uns sehr über die intensiven und interessanten Gespräche des gestrigen Treffens

Auch in Zukunft würden wir uns freuen ein Treffen in der Firma eines Mitglieds stattfinden zu lassen. Bei Interesse meldet euch einfach direkt bei mir oder über lvug@prones.de.

 

An dieser Stelle auch von mir nochmal die herzliche Einladung zur nächsten Veranstaltung der Fa. ProNES am 17.03.2015.

"Treffpunkt Automation".

 

Wie immer gilt auch diesmal: 

Auch alle die nicht am Treffen teilnehmen konnten sind dazu aufgerufen aktiv am Erfolg der LVUG mitzuwirken und alle sind herzlich eingeladen diese Online-Community zu nutzen um gemeinsam zu diskutieren und Anstöße für das nächste Treffen zu geben. Gebt diese Einladung auch an alle eure Kollegen und Bekannte weiter. Jeder neue Teilnehmer bringt neues Wissen und neue Impulse und ist herzlich willkommen.

 

Mit freundlichen Grüßen

 

Christoph

 

PS:

Die bereits hochgeladenen Vorträge findet ihr hier , hier und hier .

0

NI has announced the release of the NI 9503, a C Series stepper motor drive module for the CompactRIO platform, which can add stepper motion to a CompactRIO system without the need of an external power drive. The NI 9503 features high-speed antiresonance, low-speed torque ripple cancellation, and microstepping.

 

ni9503.jpg

 

Key Features:

  • 3 A RMS (4.24 A peak) current per phase
  • Advanced PWM algorithm that reduces torque ripple, minimizes power loss, and smoothes microstepping
  • Software-programmable full-step, half-step, and microstepping rates up to 256
  • Direct connectivity to 2-phase bipolar or unipolar hybrid stepper motors
  • Software-programmable current reduction for reduced power consumption
  • Ability to create powerful custom motion control systems using the LabVIEW SoftMotion Module

 

>> Learn more about the NI 9503

0

Industrie 4.0 ist das Thema, welches uns allen tagtäglich begegnet. Die Initiative und das Bestreben nach der smarten Produktion, nach intelligenten Agenten, die individuelle Abläufe steuern und organisieren bestimmt bei vielen Herstellern die Entwicklungstätigkeiten und bei Integratoren die Projektanforderungen.

Die ProNES Automation GmbH beschäftigt sich schon seit einigen Jahren mit den technischen Entwicklungen und den Anforderungen der produzierenden Unternehmen in diesem Kontext.

Im vergangenen Herbst konnten wir im Rahmen der Motek Messe und der SPS/IPC/Drives unsere Plattform für intelligentes Datenmanagement in der Produktion (PIQ.dataserver) präsentieren.

Erste Installationen und inzwischen laufende Systeme haben die Leistungsfähigkeit des Paketes bestätigt und zeigen uns, dass wir damit auf dem richtigen Weg sind einen Mehrwert für unsere Kunden zu generieren.

Wir möchten Ihnen am 17. März im Rahmen unserer Veranstaltungsreihe Treffpunkt Automation Applikationen und Produkte zu diesem hochaktuellen Thema vorstellen und mit Ihnen Ihre Anforderungen und Ideen diskutieren.

Nutzen Sie die Gelegenheit zur Information und zum Austausch und bringen Sie Ihre Vorstellungen ein, wie die Produktion der Zukunft aussehen soll.

Wir freuen uns auf einen intensiven Nachmittag und interessante Gespräch im anschließenden Get-together.

 

Melden Sie sich noch heute über den anhängenden Veranstaltungsflyer an und laden Sie auch Ihre Kollegen zu diesem Event ein, wir freuen uns auf Ihr Kommen.

 

Jochen Weber

Geschäftsführer ProNES Automation GmbH

0

Hey everyone,

we are happy and proud to announce that we just released our toolkit XLR8 V 2.1.0.7.

(requirements: LabVIEW 2010+, VIPM 2014+)

 

We have been working hard to further improve the product and took your feedback seriously in order to solve some  issues. We were able to enhance the overall performance and compatibility of the product.

 

Among the many improvements are:

- Optimized multiple save operations (#750)

- "Read Area (All Types)" double as date interpretation solved (#423, #556)

- "Read Area (All Types)", formula results are now user-selectable (#738, #739)

- "Wipe Sheet" functionality improved (#731)

- multiple sheets selected issue solved (#722, #700)

- "Get Named Ranges" returns the correct row and column value (#736)

- Charts are no longer modified by XLR8 (#711, #627)

- correct display of formula results (#710)

- writes blank cells for NaN or Inf values in "Write Area" (#326)

- no longer underlines text when changing the font of a cell (#427)

- enhanced and clarified documentation of various VIs (e.g. column width)

 

Please continue to give us feedback and feel free to rate XLR8 on ni.com!

Use these forums to share your wishes, goals and ideas for XLR8 as we continue to make it even more compatible and a powerful replacement for ActiveX control of Microsoft Excel.

 

All the best

 

Peter

7

Picture Ring Style in The Daily CLAD

Posted by SercoSteveB Feb 26, 2015

Which of the following statements are TRUE?

 

NOTE:  Multiple answers may apply.

 

a) You can add an image to a Picture Ring Control by dragging and dropping an image file (.jpg) onto the Picture Ring from the LabVIEW Project window.

b) You can add an image to a Picture Ring Control by dragging and dropping an image file (.jpg) onto the Picture Ring from Microsoft Windows Explorer.

c) You can scroll through the images of a Picture Ring Control using CTRL + Mouse Wheel.

d) You can add an item to a Picture Ring Control from the right-click shortcut menu of the Picture Ring.

0

Thank you to everyone who made CLUG a great day yesterday! Superb presentations from David Barr and Dr James Powell. Also Max Simmonds demonstrating the wonders of a Musical Tesla Coil.

 

Presentations to be released soon!

7

If you drag and drop a file (avoiding .vi, .ctl etc.), folder or location from the LabVIEW Project Window onto an empty section of a VI Block Diagram, LabVIEW automatically creates a Path Constant, on that Block Diagram, containing the path of the dropped item?

 

a) TRUE

b) FALSE

0

SSH with LabVIEW in Labvolution

Posted by GregPayne Feb 25, 2015

I was asked last week if there was a way to interactively communicate with a remote Linux client. The only way that I knew of was to create a temporary file with the commands and then use Plink (a part of PuTTY) to execute the file of commands on the remote machine.

 

LabVIEW SSH plink PuTTY

 

This works well when you want to execute a list of commands and are not interested in the response from each command. If you want the response from each command, then you will need to call this method for each command. This is not very efficient as each time this method runs, it will log in to a different session before executing the command.

 

This method will also not work if you need to run custom applications on the remote client where the session needs to stay in memory.

 

I did a bit of searching and didn't come across any LabVIEW solutions that suited my needs. I did find a really good C# library that looked like it would work. It is still actively supported and the latest version is only a few months old. (All good so far)

 

As the library is massive, my plan of action was to use the library to write my own C# dll that would do what I wanted it to do. All that I needed my library to do was connect to a remote client, execute commands and return the response and then disconnect when finished.

 

C# class

 

I decided to put everything into a class so that I can add to it in the future. There are still a few features that I want to add but will leave them for another time.

 

connect()

 

You need to create the following objects that will be used by the various parts of the application.

 

  • SshClient - used to connect and disconnect from the client
  • StreamReader - this will be used to read what is returned from the client
  • StreamWriter - use this object to write to the remote client

 

public void connect()
{
sshClient = new SshClient(remote, user, password);
sshClient.Connect(); //connect to the client
stream = sshClient.CreateShellStream("dumb", 80, 24, 800, 600, 1024);
reader = new StreamReader(stream);
writer = new StreamWriter(stream);
writer.AutoFlush = true;
}

 

Once these references are created, they are stored in public properties.

 

executeCommand()

 

The execute command methods writes a string to the StreamWriter object.

 

public void executeCommand(string command)
{
writer.WriteLine(command);
writer.AutoFlush = true;
}

 

Once the string has been written, the buffer is flushed.

 

disconnect()

 

The disconnect() method closes the session and disconnects from the client.

 

public void disconnect()
{
sshClient.Disconnect();
}

 

The class only contains these three methods. There is one more step that needs to be taken and that is to read the StreamReader object for responses from the client. I have left this out of the class and leave it up to the application to do the reading.

 

readReader()

 

private void readReader()

{
try
{
int i;
for (i = 0; i < 3; i++)
{
Thread.Sleep(500);
if (ssh.stream.DataAvailable)
{
tbOutput.AppendText(ssh.reader.ReadToEnd());
tbOutput.ScrollToCaret();
Thread.Sleep(50);
}
tbDebug.AppendText(i.ToString());
}
}
catch(Exception ex)
{
MessageBox.Show(ex.Message.ToString());
}
}

 

In the readReader() method, I monitor the DataAvailable flag. I have had to play around with the number of iterations of the for loop as different tasks take different amounts of time. Some examples that I came across only call this method once, but I found that some data is then missed. Setting the iteration too high causes unnecessary delays and setting it too low does not allow all the data to be read. There are other methods that can be used, but I still need to give those a try.

 

Implementation in LabVIEW

 

My main aim was to get a LabVIEW application working so once I had my class written, I moved into LabVIEW mode and connected everything up.

 

Using the .NET palette, I was able to call the constructor, read/write properties and execute methods on the class.

 

LabVIEW .NET pallette

 

I wrote a simple state machine application to test the class. All the references are stored in a typedef cluster which is shifted around each state. On the front panel there are buttons that generate events to call each case.

 

Constructor and connect to client

 

LabVIEW SSH constructor

 

LabVIEW SSH connect

 

Execute commands on the remote client


LabVIEW SSH Execute Command

 

Disconnect from the client


LabVIEW SSH Disconnect

 

Read the StreamReader object


LabVIEW SSH readStream

 

LabVIEW SSH readStream 2

 

With this application, I am able to connect to a remote client, execute commands as I would in PuTTY and then disconnect when I am done.

 

There are a few things that I still need to sort out. The main one is that terminal characters are being returned. These are not seen in PuTTY as PuTTY removes them from the string that is shown. The other is that the prompt is being written twice. From what I have read this is caused by the client echoing what it receives. I still need to look at this too.

 

In future versions, I also want to add SFTP functionality. Being able to upload and download a file will be quite a nice feature. I also want to add different login options. Being able to login using private keys will also be useful.

 

As with all my posts, you can download the LabVIEW and C# code. If you have any feedback, please feel free to contact me on Google+ or send me an email. Both the C# and LabVIEW application have been tested on the default Raspbian image running on a Raspberry Pi B.

 

Greg

www.labvolution.com

0

Grid Automation System in Product Pulse

Posted by avaleria Feb 25, 2015

The Grid Automation System is a CompactRIO-based solution designed to simplify substation monitoring and upgrades while improving measurement visibility. The system is fully programmable using LabVIEW, C/C++, and Linux supported scripting languages. You can program the system to select which data to monitor, store, or transmit to reduce storage and bandwidth requirements. It features a dual-core ARM Cortex-A9 processor and runs the NI Linux Real-Time OS.

 

smartgrid.jpg

 

Key Features

  • Fully programmable controller (dual-core processor, NI Linux Real-Time OS, onboard storage)
  • Programmable communication protocols including DNP3, IEC 61850 (GOOSE/MMS), EN 60870, and Modbus
  • 19 in. rack mount for substation installation
  • C37.118.1a-2014-compliant PMU personality
  • 2-bus configuration (8 V, 8 I) with 8 digital inputs
  • 2 Ethernet ports (1 fiber LC, 1 copper), 1 GPS antenna input (F type)


>> Learn more about the Grid Automation System

 

The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a worldwide basis.

 

 

13

If you drag and drop a file from the LabVIEW Project Window onto a Path Control on a VI Front Panel, LabVIEW automatically updates the Path Control with the path of the dropped file?

 

a) TRUE

b) FALSE

0

The sheer amount of data generated by engineering departments is causing a chasm between IT and engineering. As a result, only five percent of collected data is even being analyzed. In the push to better acquire, store, and leverage Big Analog Data solutions, engineers must start by recognizing the role that IT plays in managing it. Unless these groups work together to develop tools and methods to better use the data, this chasm will continue to grow deeper.

 

320px-Big_Data.jpg

 

To effectively transform into a test data-centric organization, a cross-functional team should jointly test solutions and ensure compatibility. Although this process is not the quick fix many companies desire, the act of aligning teams and overhauling processes do provide benefits that can increase a company’s profit.

 

Combining IT and engineering teams to manage test data holds transformational possibilities in analytics for asset-intensive industries and automated test.

 

Learn more about how engineering and IT can work together to leverage test data on page 8 of the Automated Test Outlook.

0

Affiliate marketing is one of the best ways a company can bring in more business. It helps a company to, more or less, get more referral business, which we all know is the best kind. But as an affiliate marketer, building up enough readers for your blog to make any money doing affiliate marketing can be really tough. And keeping your current readers interested is another challenge in and of itself. How are you going to make any money as a pay per call affiliate if you can’t keep people coming back for more? Fortunately, using social media can help you boost your numbers and help you bring in more cash.

 

Loyal readership

 

The key to doing well as an affiliate marketer is to have a loyal readership. This means you have to constantly work on and develop your relationship with your readers, according to Entrepreneur. You need to spend time posting on social media sites every day, and make sure you respond to all posts from your fans on social media. On top of that, taking time to share what your fans have to say once in a while will show it is a two-way street and that you care about them as much as they care about you. This kind of relationship building is very simple through social media because it allows you to communicate with your customers just as easily as they communicate with you. You’ll get much more loyal fans as you engage with them rather than just always expecting it to be a one-way street.

 

Engage in all types of social media

 

There are a lot of people with a Facebook who don’t do any other kind of social media. The same can be said for Pinterest or Instagram. Even Twitter has a lot of following that you won’t find anywhere else. Though it can seem overwhelming to stay on top of all these social media platforms, it will help you to reach everyone rather than the select few on the platform you are most comfortable with. It is better to be on one than on none though, so don’t avoid social media simply because it seems overwhelming. Find one that works for you (especially if you are just starting), and engage as much as possible with your readers. Soon, it will pay off.

 

Marketing News brought to you by paypercallmarket.com

 

Source: entrepreneur.com/article/241257

 

Tags: affiliate marketing, social media marketing, social media affiliate, how to make money, how to be an affiliate, social media affiliate marketing


0

Need help with state machines? Here's a good place to start:

 

Building a Proper LabVIEW State Machine Design Pattern - Pt 1