Need an example of using UIMessageEvent Labview and TS.
I've been reading about this in the 'UsingLabviewWithTestStand.pdf manual. Chapter 6.
Creating custom user interfaces with Labview. I've been working with the Simple OI for Labview.
The manual doesn't provide enough information for me to understand what to do next?
Can someone provide a working example of an Operator Interface that can handle the process model events generated with the Call Thread.PostUIMessageEx() steps? Say I want to add a custom event that sends a string to be displayed in a text box, such as an operator instruction. How do I do that?
I just can't seem to get the link between the two.
I looked at several of the examples on the web site, but they are all using PostUIMessage in the sequence. The TS 3.5 help file says that that is an obsolete call and the I should use PostUIMessageEx.
The example that you are pointing me to doesn't seem to do anything at all. I run it with the suggested sequence (uimessage.seq) but there is no obvious result. Nothing in the report window. All I see in the execution window is that the Action, Call Thread PostUIMEssage is 'Done'. It is supposed to be counting; but where does it put the count value?
After someone answers the above questions, I have more...
I am using TestStand 3.5 and LabView 8.01
I am looking for an Event driven example with PostUIMessageEx that works?
How do you populate the ActiveX parameter?
What kind of data is it looking for?
How do you read that parameter in the Event handler?
Can I display the string variable in a Text Indicator?
So far I have modified the Simple OI and added the UIMessage event handler to pick up the string variable. But it doesn't pick it up, as far as I can tell. I tried to put a breakpoint in the VI to take a look at it, but that is evidently a bad idea because it hangs the Labview runtime enginer or server and I have to kill the application.
So there are a multitude of questions about writing this kind of coded (Event handlers) that I can't seem to get answered in any of the documentation.
If there were an up-to date TS 3.5, LV8.0 example that really worked, then maybe ...
Similar Messages
-
Use NI LabView and LabView RT with third party PXI chassis
I want to use NI LabView and LabView RT, some PXI chassis of N.I and
some PXI chassis of Third Party( not N.I ) for diversity, How I will Install
Pharlap ETS ( LabView RT ) on those third party PXI's.
More simply
Third party PXI chassis and controllers support LabView RT or not?
Note: Mark Andre Hary [email protected] of Sensing Systems LLC answer to this question as:
"You can't. I think NI bought Pharlap, and they do not offer board support packages (BSPs) for non-NI PXI controllers. There is no way to get LabVIEW-RT running on a controller not purchased from NI. You will have to use a standard RTOS like Linux,VxWorks, or QNX.
RegardsAs described in the web links below, the only way to run LabVIEW Real-Time for ETS on a third-party system would be to follow the procedure for desktop PC computers. You may find that your third party PXI controller may meet the requirements listed in the below link and you will be able to run Real-Time on the controller. If you decide to do this, you will need to purchase the LabVIEW Real-Time Desktop Deployment license (also linked below). After purchasing the deployment license, you will be sent boot disks that will install the real-time OS onto your system. There is no need to purchase Pharlap ETS from Ardence directly.
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/cb3434da94466dd286256e9e006bb775?OpenDocument
http://sine.ni.com/nips/cds/view/p/lang/en/nid/13751
Instead of using LabVIEW Real-Time for ETS, you could use LabVIEW Real-Time for RTX instead. This system allows you to run Windows and the Ardence Real-Time eXtensions (RTX) real-time kernel concurrently on one machine. Currently device support for LabVIEW RT for RTX systems is limited to RIO devices. This is all described in the below link.
http://zone.ni.com/devzone/conceptd.nsf/webmain/9cc60298315a687e86256e78007b3a96
I hope this answers your question.
Regards,
Kristi H - National Instruments -
Need help trying to use close button and i really like to know why it off
need help trying to use close button and i really like to know why it off
And in English? You need to explain better.
Mylenium -
Need examples of using HEAD, BODY and TABLE options of SET MARKUP
Hi!
Looking for examples of using the HEAD, BODY and TABLE options of the SET MARKUP command in SQL*Plus. Will be used in 10.2.04 on Linux.
Have been trying to set up an "H1" header but not having any success. Documentation and examples in the documentation are not very helpful.
Thanks for your time and help!
Dave Venus$ echo "select sysdate from dual;"|
sqlplus -L -s -M 'html on head <title>MyTitle</title> body bgcolor="black" table border="0" scott/tiger
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="generator" content="SQL*Plus 10.2.0">
<title>MyTitle</title>
</head>
<body bgcolor="black">
<p>
<table border="0">
<tr>
<th scope="col">
SYSDATE
</th>
</tr>
<tr>
<td>
2009-02-12 15:22:00
</td>
</tr>
</table>
<p>
</body>
</html>Edited by: Laurent Schneider on Feb 12, 2009 3:22 PM -
Can we have an example of using update, insert, and delete stored procedure
I would like to see an example of using retrieve (return resultset), update, insert, and delete stored procedures in JSF. I need to see syntax how JSF can call those stored procedures. This option is absolutely important when building web-application. Currently, I haven't found resource to do for this purpose yet. The database can be any such Oracle, DB2, pointbase, etc that support stored procedures.
Anyone knows?
Thanks,
Tue VuHi ttv,
I asked around a bit and here's some more info:
To bind a ResultSet to a read only Data Table component just set the "value" property of the Data Table component to point at it, and JSF will synthesize a DataModel around it.
* Note that because we can't call the stored procedure at design time, Creator can't do the fancy table layout stuff it does for rowsets. You'll need to hand craft the columns just like the Google Client example.
* As I mentioned previously, you will have to manually code the stored procedure access in your java code - see the code clip I mentioned in previous reply (and if this is via a stored procedure, then any textbook about JDBC will undoubtedly have examples). Simplest way might be a getter method on the page bean that contains the call to the stored procedure and returns the resulting ResultSet object.
* Don't forget to close the result set - we typically do this at the end of the request (i.e. add a close in the afterRenderResponse() method.
* Don't throw exceptions - or if you have to, make sure you close the result set in a finally clause (thrown exceptions bypass the afterRenderResponse method in the lifecycle).
* You give up on the caching provided by our RowSetDataModel (which can't be connected to a ResultSet even manually), so I would recommend that you only use datatables to display the data and then go to a single row page to do edits/deletes (similar to the TwoPage example in AppModel and the Update, Insert Delete tutorial).
And yes please do submit an example - we will gladly post it!!! :) The best way to submit this kind of thing would be through:
http://developers.sun.com/prodtech/javatools/jscreator/reference/codesamples/sampleapps.html
on the right side, Related Links, under Creator Heros, click Submit Content and there you can send it in!
Hope this helps!
Val -
I would like to know all about National technology regarding building/home automation?
I could help you better if you had an idea of the equipment you will be controlling or reading to/from. Are you planning to totally customize a system or are you looking to use instruments/controllers already available for Home Automation? Im not sure I understand what you really need. Here's an Idea. Computer is the controller of the system.
System consist of Light Control Only (to keep it simple). Program written in LabVIEW. Here you can create schedules to turn lights on/off/dim. Then LV could communicate, (for example using X10 or other protocol), commands to the device actually controlling the lights. Lighting device could be controlled using some sort of communications like, X10, Serial, IR, RF, Ethernet, etc... So this system can turn lights
on/off/dim% either at the click of a button on your screen or a timer. Adding any other system in the house will more than likely require a different communication protocol and complicates things even further. You could much of this with regular automation hardware from NI but this requires integrating different components like relays, dimmers, etc.. Much more work and more expensive, (I would think), than buying a device made specifically for the system.
I hope this helps. -
Examples for using function modules and BApis.
My Dear FRNDS,
I am very new to ABAP. And I have read the documentation for function modules but i am not that clear to practice them.So I would be very happy if u people share a little bit of ur experience with me.
Please provide me some examples of all the use cases in function modules and specially exception handling.
Frnds, i am going to work with bapis so i feel practicing function module will give me a edge.
and please tell me after calling a BAPI FM why we have to perform 'BAPI_TRANSACTION_COMMIT' and 'BAPI_TRANSACTION_ROLLBACK'.
.Ur efforts will be greatly rewarded.
thx,
reshaliHi,
Please check this sample codes.
DATA: BAPI_Z05DOGI_DELIVERY LIKE BAPIOBDLVHDRCON-DELIV_NUMB ,
BAPI_Z05DOGI_HEADER_DATA LIKE BAPIOBDLVHDRCON OCCURS 0 WITH HEADER LINE ,
BAPI_Z05DOGI_HEADER_CONTROL LIKE BAPIOBDLVHDRCTRLCON OCCURS 0 WITH HEADER LINE,
BAPI_Z05DOGI_ITEM_DATA LIKE BAPIOBDLVITEMCON OCCURS 0 WITH HEADER LINE,
BAPI_Z05DOGI_ITEM_CONTROL LIKE BAPIOBDLVITEMCTRLCON OCCURS 0 WITH HEADER LINE ,
BAPI_Z05DOGI_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE .
CLEAR: BAPI_Z05DOGI_DELIVERY , BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA ,BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
REFRESH: BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA , BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
BAPI_Z05DOGI_DELIVERY = ZMM_WB1-ISSUE .
BAPI_Z05DOGI_HEADER_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
APPEND BAPI_Z05DOGI_HEADER_DATA.
BAPI_Z05DOGI_HEADER_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
BAPI_Z05DOGI_HEADER_CONTROL-POST_GI_FLG = 'X'.
APPEND BAPI_Z05DOGI_HEADER_CONTROL.
BAPI_Z05DOGI_ITEM_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
BAPI_Z05DOGI_ITEM_DATA-DELIV_ITEM = 10.
BAPI_Z05DOGI_ITEM_DATA-DLV_QTY = LFIMGGIA.
BAPI_Z05DOGI_ITEM_DATA-SALES_UNIT = XTAB-MEINS.
BAPI_Z05DOGI_ITEM_DATA-DLV_QTY_IMUNIT = LFIMGGIA.
BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_NOM = UMVKZLIPS.
BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_DENOM = UMVKNLIPS.
APPEND BAPI_Z05DOGI_ITEM_DATA.
BAPI_Z05DOGI_ITEM_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
BAPI_Z05DOGI_ITEM_CONTROL-DELIV_ITEM = 10.
BAPI_Z05DOGI_ITEM_CONTROL-CHG_DELQTY = 'X'.
APPEND BAPI_Z05DOGI_ITEM_CONTROL.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
EXPORTING
DELIVERY = BAPI_Z05DOGI_DELIVERY
HEADER_DATA = BAPI_Z05DOGI_HEADER_DATA
HEADER_CONTROL = BAPI_Z05DOGI_HEADER_CONTROL
TABLES
ITEM_DATA = BAPI_Z05DOGI_ITEM_DATA
ITEM_CONTROL = BAPI_Z05DOGI_ITEM_CONTROL
RETURN = BAPI_Z05DOGI_RETURN.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = BAPI_Z05DOGI_RETURN.
Go thru this link
http://www.planetsap.com/LIST_ALL_BAPIs.htm
BAPI_TRANSACTION_COMMIT
Execute external Commit when using BAPIs
This method executes a COMMIT WORK command. It is required for
transactions developed externally to the R/3 System that change data in
the R/3 System via BAPI calls.
When you call BAPIs in your program that change data in the R/3 System,
afterwards you must call this method to write the changes to the
database.
COMMIT WORK
The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the currenta SAP LUW in the process
there are some FM that we use for creating trasaction . for example FM : that use for creating production order . if you execut the FM , the system will not create any data in the system so you need to excute the FM : BAPI_TRANSACTION_COMMIT to commit that creating the production order .
in case of commit work, that is a syntax in abap program . if you use this syntax after you insert ,update or delete table in the sap ,system will do it immediately otherwise the system will do it after execution is complete.
ROLLBACK WORK.
for confirming or undoing database updates. COMMIT WORK always concludes a database LUW and starts a new one. ROLLBACK WORK always undoes all changes back to the start of the database LUW.
Regards,
Raj. -
Logitech Game Controller for use in Labview and dealing with possible disconnects
Hello all, I would like to see if there are any suggestions on the following issue. In effect I am using a Logitech game controller to manipulate large scale robots. During operation with these robots I need to plan for the inevitable "accidental" disconnection of the game controller from the computer running labview while it is under operation. Simple to say I can throw the system into standby upon the "ERROR" messages I get, but I want to programmatically be able to "reset" the controller (ie wait for it to be plugged back in) and have the program continue working. However with my work and research thus far that isn't the case. I end up with the same error (even when reconnected, attempted re-initialize, closing the connection, with time delays, and re-initailizing after closing all connections). Nothing seems to work other than closing the program and restarting it (which for the consumer this would be quite frustrating). Suggestions?
Also on a similar note if anyone has any ideas on how to scan for devices prior to using them would be helpful too.
I currently am running Labview 2009 in windows 7. I do realize windows has its unique way of dealing with plug and play devices, and suspect that I may have to play with these features, but I don't know this topic very well.
Thank you all in advance!Hey Dashiva,
I am assuming that the Game Controller that you are using is connected via USB. Does it show up in the computer's Windows menu when it is plugged in? If so, you can make calls to it using .NET controls that could access the device once it is re-connected. I would also try simply hitting F1 and see if that allows the program to reset the controller.
Good Luck,
Doug B
National Instruments
Applications Engineer
Applications Engineer
National Instruments -
NEED HELP BADLY! USING IMAC G5 AND CAN NOT INSTALL
I'm not too great with computers but I know how to install
programs easily and I've installed Flash in the past.
Today it seemed for no reason my flashplayer just stopped
working.
So I went to reinstall it
It succesfully installed but still didnt work on any flash
types.
So I deleted all the possible flash files on my computer and
then tried installing again
And it gave me an error message saying: 1008:9,-5000
I don't know what this means and I don't know how to fix it
and would extremely appreciate someone helping me out...
I use an Imac G5 (not intel core)
My main browser is Safari but I will use Firefox if needed
If you could just send an email to [email protected]
I'll get back to you as soon as I can
THANKYOU IN ADVANCE!!!!!!!!I've used the Free Version of SuperDuper for 3 - 4 years to make a bootable backup of my MacBook. It always makes a perfect copy. I don't use the paid version of SD, but from what I gather the main advantage of the paid version is you can make a back up of only those files that have changed since the last back up using Smart Update or Copy Newer. This takes only a few minutes rather than the 1 1/4 hours it takes me to do a complete back up using the free version. SD won't let you use Smart Update or Copy Newer unless you pay.
From your post, you want to copy a few of your User files to an external drive? I'm not sure why you need SuperDuper to do this. Why not just drag those files to the external drive? Sure, you're not able to schedule this for an automatic back up, but I'm not sure that's what SD is for. However, it looks like they have shell scripting to do other things, and there is a selection for included scripts under Options. There may be something in there for you. -
Need tablet recommendation for use with CS6 and a Mac Mini
Hello all,
I'm running CS6 on a Mac MIni with OS X 10.8.3. I want to start learning graphic design entry on Illustrator and Photoshop and all I've read indicates use of a tablet is de rigueur. Can anyone recommend a medium to top-end tablet that is compatible with the Mac Mini and CS6? Apple's site only shows the Wacom Bamboo Splash tablet but doesn't give any hint whether it would work with the Adobe tools.
Thanks,
Kevin H.Actually it depends on how you like to work and what exactly you're after.
Illustrator can be used with a mouse only when you do just construction work, like using the shape tools, the pen tool, pathfinder functions, transformations and all those other tools that serve the need for exact results.
In case you'd like to draw stuff intuitively like doing water color, calligraphy, sketching then you would definitely need a tablet.
A tablet can also replace a mouse in case you want to reduce a strain on your hand, arm and fingers. Some people prefer styluses in this case.
Is any of these the case for you? -
How many GB and GH do I need? I'll use for pics and music and surfing Internet. Thanks
how many GB abd GH do I need for buying MacBook air? I will use for pics, music and Internet surfing. Thanks
how many GB abd GH do I need for buying MacBook air? I will use for pics, music and Internet surfing. Thanks
-
Example for Using WDR_SELECT_OPTIONS and SALV_WD_TABLE in one View
Hello,
I need an Example for Using the WD-Components WDR_SELECT_OPTIONS and SALV_WD_TABLE
in one view. Can anybody help me?
Thanks
TotoHello,
Please see these:
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/21706b4b-0901-0010-7d93-c93b6394bc1d]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/39c54fe7-0b01-0010-0eb6-d63ac2bdd637]
[/people/rich.heilman2/blog/2005/12/20/using-select-options-in-a-web-dynproabap-application]
[/people/thomas.jung3/blog/2005/12/21/webdynpro-abap-alv]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8]
Regards. -
I'm using a pc, (windows 8.1,) and I cannot get a thick and thin line with CS6. I want to draw, but I cannot get any linework like I should. I also use Sketchbook Pro, and ToonBoom, and I get wonderful linework. But not with Photoshop.
None of the brush tool settings have any effect, even in the preview. Is there a setting I need because I'm using a pc and not a mac?Thanks for your response,
I'm using a Fujitsu T901 laptop, with a stylus pen. Painting works great in Photoshop, but for drawing there is no sensitivity at all. Frans Vischer
author and illustrator of Fuddles, A Very Fuddles Christmas and Jimmy Dabble
www.fransvischer.com
pamperedfatcat.wordpress.com -
More complicated examples of using BRFPlus
Hello!
Where can I find more complicated examples of using BRFPlus functionality? I need in examples that use expression types like DB query, Step sequence, Search Tree or XSL transformation.Hi Alexander,
With NW 7.0 EHP1 BRFplus can be used for rather simple examples. Development is not completed for all features.
You may use Decision Table, Boolean, Range, Constant, Formula.
FYI: There are some demo reports in a package call SFDTDEMO.
However Ruleset and Rule and not really usable in NW 7.0 EHP1. Those features will be made available in NW 7.0 EHP2. For really complex examples you will need them. In NW 7.0 EHP2 there is no limitation anymore. I am comfortable that even complex cases can be supported well.
BR,
Carsten -
Need help with problem using sound and vibration examples. question repost
I am generating a wav file using the sound and vibration example vi "SVXMPL_Wav Recorder(DAQmx)" using a ni 7422 board. Then, using the example vi SVXMPL_Getting started with SVT(Simulated)" attempting to play back that file. the wav file will load and play back on the graphs fine but when I click the "Play Wav File" which sends the audio to the computers speaker, I get the error "Cannot recognise sound Format". It plays the shipped example files fine. I can also play the wav files I generate on a Windows audio player. Don't know a lot about the sound and vibration toolkit or wav file formats but need to get these two to work together. Using LV 8.5 and sound and vibration toolkit 4.0. This is a bit of a repost of the same question ask last week but not answered. Thanks
Did you see Coq Rouge's reply in your original thread? Which thread are you going to continue?
Maybe you are looking for
-
hi, i was wondering how i would go about posting to a website form, and then getting the data that the form returns. is this easy to do? and can it be done from like a java application. i want to automate entering some information into a text field.
-
IWeb Tiled Image Background Loads for Each Page
My site Ostyn-Newman.com uses a black template. I have an image that I tile for the background as well as for the browser background. They are the same image. IWeb seems to do two things that make my site slow way down. IWeb 1) Treats the browser
-
Problems shutting down and starting up
my MacBook Pro (OSX 10.9.3) doesn't shut down when I want it to but goes into a coma periodically. when I use "Shut Down" every once in a while via Apple menu, the machine doesn't appear to actually shut down. when I open it or got to it the next tim
-
Newbie question: when designing an ID document (let's say ID CS4, since that's what I'm using), is there any difference in placing a Photshop image (.ps) versus a .TIF file? I've done both. And is there any harm in using high-res .JPG's? I have a fri
-
Build OBIEE 11g repository accessing Essbase problem
When I use OBIEE 10g to import Essbase cubes metadata, the measures are displayed as 'physical cube columns' in physical layer; however, when I use OBIEE 11g to import the same Essbase cubes metadata, these 'physical cube columns' disappear (i.e., I