LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

API call - get a measurement/value


Lars Uffmann wrote:
@Andrew W. Hill wrote:
>> Yes it was. Is this newsgroup dead?
> No?

Ok - I need to rephrase: Is this newsgroup dead, when dead means
"extremely low traffic" as in less than 1 post per week avg.? 🙂

 

Don't use whatever newsgroup you are using.  Just log into NI.com and go to Discussion Forums.  This is homebase.  There are hundreds to thousands of messages a week.
0 Kudos
Message 11 of 24
(1,291 Views)
On Mar 5, 4:54 am, Lars Uffmann <a...@nurfuerspam.de> wrote:
> Hey everyone!
>
> I just started having a closer look at LabView (not impressed with the
> sloggish performance of my system since I installed the development
> environment, but that's different topic).
>
> Anyways - since my googling skills seem to be failing me this time:
>
> I want to use an API call to fetch a measurement value from another
> software (that provides the API). Then I want to display that in a graph.
>
> So - can someone point me to the right control for the LabView block
> diagram?
>
> Edit: I just found the "Call Library Function" is that what I need?
>
> Best Regards,
>
>    Lars

Hi Lars,

Your question was mirrored to the NI Discussion Forums (forums.ni.com)
and a number of replies have been posted in response to your question:
http://forums.ni.com/ni/board/message?board.id=170&message.id=479964#M479964

Thanks,
Laura
0 Kudos
Message 12 of 24
(1,275 Views)

I've watched the newsgroup, too, having failed for about a year to get any useful information from NI.  Though I've asked very specific questions of their people, all I've ever gotten from the is a sales pitch for yet another version of LabView, of which I already have two versions.

 

What I have repeatedly asked for is basic instructions on how to use NI GPIB interfaces to "talk" to our GPIB equipment, in order to accomplish useful work.  I'm not interested in simulations or virtual-anything.  

 

My buisness partner, the one responsible for our GPIB autoated operations, who'd been doing the work for a over a decade, therefore allowing the rest of us to become complacent and ignorant of what he was doing, passed away last year and, since then, all this GPIB hardware and software has been unused for automated processes.  I'm old, and not likely to learn a lot of new tricks, but not totally stupid either, I hope.  Things have been disrupted considerably by the fact that due to the staff-size reduction, I've moved us to a small facility from the oversized one we had before, and things aren't exactly as they were.  

 

Is there some way of getting around the sales department at NI and getting useful information rather than an unwanted sales effort?

0 Kudos
Message 13 of 24
(1,255 Views)
So, in all the time that you have lurked around the newsgroup, you never once asked a question and now that you have come to the correct place, you still have not asked a question. What are some of the specifics of your problem? Have you tried any of the example programs? Have you searched for a driver for your instruments? Have you tried to use MAX (Measurement & Automation Explorer)?
Message 14 of 24
(1,244 Views)

Dennis Knutson wrote:
So, in all the time that you have lurked around the newsgroup, you never once asked a question and now that you have come to the correct place, you still have not asked a question. What are some of the specifics of your problem? Have you tried any of the example programs? Have you searched for a driver for your instruments? Have you tried to use MAX (Measurement & Automation Explorer)?

And the post has at least to me no visible relevance to the thread either! To me it simply looked like a troll post.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 15 of 24
(1,234 Views)

Well, actually, I did ask a few questions, but never got a reply.  I'm not sure why.  In some cases my post didn't even appear, and in others it simply went unnoticed. 

 

I'm not one to look for a "food fight" as some might be.  I just need to communicate with someone who knows this stuff yet isn't trying to sell something.

 

When I've tried asking questions through NI, all I've ever gotten was a sales pitch for a product I probably don't need.

 

One of the problems, of course, is that NI doesn't support the instruments we've used for the past 30+ years, which still work as well as they did when new. i think that's what I repeatedly asked about.

 

Edick

0 Kudos
Message 16 of 24
(1,224 Views)

You still have not asked a specific question and your profile shows that you just registered.If you had registered under a different name, use that and point to your old posts. All that you have done so far is complain about a lack of response. You are posting to a forum that is made up of users and NI personnel so stop complaining and actually explain what your problem is.

 

NI does not support ANY sort of instruments besides the ones they manufacture. If you are using GPIB instrumentation, then you really, really need to explain what the problem is.The GPIB boards are just as capable of communicating to modern instruments as ones that were built 30 years ago. I know because I have used old instruments.

Message 17 of 24
(1,221 Views)

I don't know why you've taken offense at what I've said.  Today was the first time I'd even encountered this forum,  and that was because someone had posted a question on the old newsgroup that looked like it might produce a lead to one of many questions I've had regarding how to get useful work out of this NI hardware and software that's been in house for several years. 

 

I admit I should have provided a fall-back path to cover what I considered an unlikely event, one that did nonetheless occur, namely the untimely death of my business partner, who handled all the GPIB-automated T&M. The stuff we do isn't terribly taxing or esoteric.  I had no idea how obscure the details are.

 

Of the several phone conversations with NI people here in the U.S. and other purportedly knowledgable individuals, I got numerous recommendations as to what to buy, but not one reference to this forum.    I suspect that, given a few moments to regroup and consider precisely what questions to ask and in what order, there are people on this forum who could help me find the answers.  

 

My complaints are about support and documentation of NI products.  Since most of the hardware is multiple years, in somce cases, decades old, I don't expect much help from NI with that.  However, the software for the fairly recent PCI GPIB card in house had about 15 lines of English doc and perhaps twice that in Japanese.  I couldn't  even find any doc's specifically for that card on NI's site because their docs are lumped together for several cards and none of the pictures matched the card I had in my hands.  There were other doc's that referred to that card by picture, but weren't user guides or anything of the sort.  That's why I started "lurking" the Labview newsgroup, hoping to encounter a message that related in some way to what I wanted to accomplish.  With only a couple of dozen messages in the nine months since I started occasionally watching, I didn't find much.

 

I have two versions of LabVIEW, though I doubt they're really necessary.  One is v5.1, probably to be associated with an old ISA-Bus AT-GPIB card that we've had for decades, and one is v7.-something, which I'm not sure was ever really usedm though it was purchased and installed some years back for use with XP and the PCI GPIB card, which I was never advised was being used.

 

I understand that there are ways of operating these instruments without LabVIEW.  All I want to be able to do, since I can't find the source code, batch files, etc, that my late partner used, is to "talk" to our GPIB hardware from a DOS-based 'C' compiler, and record readingstaken by these instruments. 

 

What I want to find is precise documentation on how the NI boards are to be used from some HLL in order to provide access to all the functions of the AWG, AFG, power supplies, DMM's, 'scopes, logic analyzers, counter/timers, function generators, etc.  Isn't there a specific document that describes how one should proceed to do this?

 

Once I have the doc's that tell me how, I suspect I can figure it out.  

 

Edick

 

 

 

 

 

0 Kudos
Message 18 of 24
(1,211 Views)

The only offense I've taken is that you took two posts to complain about lack of support and not actually ask a question. No one is a mind reader here. At least you finally got around to asking something.

 

Documentation and drivers for old cards is available by going to the 'Support' link at the top of the page. You have to know the type of GPIB board you are using. Since this should be silk-screened on the board itself, you can find that information. That is the first thing you need to provide in order to get much more help

 

The documentation for the PCI-GPIB board is contained in a pretty extensive help file that is installed. You can access it from Start>Programs>National Instruments. A complete description of the C language commands is there. There are also C examples that get installed, if you select that option, when you install the driver. 

 

Since you do not intend to use LabVIEW, you should post to the instrument control board.

 

0 Kudos
Message 19 of 24
(1,204 Views)
Laura,

Laura wrote:
> Your question was mirrored to the NI Discussion Forums (forums.ni.com)
> and a number of replies have been posted in response to your question:
> http://forums.ni.com/ni/board/message?board.id=170&message.id=479964#M479964

Thanks a lot for pointing me there - I wasn't aware of the auto-mirroring 🙂

I managed to get my DLL-call done with the Call Library function, so I
didn't check the newsgroup for replies either, for a while.

So thanks again!

Best Regards,

Lars Uffmann
0 Kudos
Message 20 of 24
(1,167 Views)