Set the LED more than once
Hi
1. I am doing a program that has a flat sequence structure. It has a LED in the first frame and I want to set this LED again after that in another frame. How can I do that?
2. the program also has some controls that I want to check continuously and at any instance if the user change the values of these controls to unacceptable input the program indicates an error by the LEDs regardless of which frame is currently executed.
Can anybody help, please?
here is a sample that I think is what you are looking for. I only posted the picture since I work with LV 7.0 and you probably dont have that.
notes:
1)If you have more than one extra "frame" change the layout to a state machine, it will be much easier to maintain and will look (not to mention function) a lot better.
2) There is a hidden event in the event structure...you should be able to figure it out, its basically the same as the shown one, except for the temperature.
3) I dont know where you are getting the pressure and temperature from, but you will need to update them between iterations of the loop.
4) Replace Done with whatever is your ending condition for your program.
Jeff
Using Labview 7 Express
Attachments:
Pressure_Example.PNG 17 KB
Similar Messages
-
Hi, I've been looking into this for awhile and believe the answer is 'no' but was just wondering if anyone here would know of a solution.
The company I work for has a formulier on which a number of Excel files are placed. This form is then sent to a five (often different) people who are then required to open the Excel files and if accord to place their digital signature. We would like to make sure that no one is able to sign the form more than once and also if possible to make sure they have opened the Excel files. It would be great if anyone had any tips...
All the very best,
Martin AngellI am not an Excel or Excel-to-PDF conversion expert, so I do not know how Excel forms are converted to PDF form fields. With this caveat here's what I do know.
In Acrobat It is possible to create a PDF form in which there are JavaScripts associated with fields (any fields, including signature fields). These JavaSripts can do a lot of things, including checking the signer's certificates on the already signed signature fields. Then you can make all unsigned signature fields read-only, in which case the user will not be able to actually sign them. After that you can overlay a button field on top of each unsigned signature field with exactly the same dimensions and associate a JavaAcript with this button field. This JavaScript would put up an UI asking the user for the signing certificate and its password, check this certificate's CN against the list of already signed signature fields and initiate the signing of the unsigned signature field behind this button if your condition is satisfied.
I never tried that myself but it could work. This looks complicated and it is but if you really want it you can try. -
I'm unable to install the newest version of itunes on my pc, the promt says that there is a problem with the windows installer package, but I have downloaded the exe more than once. Is anyone able to help?
Yes, I had found a similar solution also. I'm running XP Pro, SP3. I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair. Then run the 10.5 exe.
While the programme updated from version 8 of iTunes, my new iTunes is now a mess. Not all of my music was in the same folder previously but it all showed up on iTunes. Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing. I haven't begun to work on that. -
It plays the tone more than once and it's not playing the tone fully. It plays like it is "stuck". Like CDs play when they are scratched. How can I stop that?
Pause and off are the same thing. This is how you stop the music.
iPhone User Guide (For iOS 5.0 Software) -
How come it doesn't show how much money there is left in my iTunes gift card? I have tried putting in the code more than once, but all my tablet says is that the card has already been redeemed.
I haven't got access to the server right now (so I can't provide the complete details), but something like 6-700 GB (which is more than it shows in the client time machine windows, but less than what is true (which was around 1,5 TB))
-
Running the VI more than once, won't populate the array correctly!
I have found something pretty weird while I was trying to do the following:
I have an Array to wich I want to append a new set of data from two sources. To do
this I found two different ways:
1. I can take the array and append every element (from the sources of new data) to
the array.
2. Or, I can create a new array, and append it to the previous one.
Every of those solutions is ilustrated in the enclosed VIs. But the second one
doesn't work correctly. If we run it just once, it will display the correct data,
but if we run it more than once, it will show the cells of the appended data
empty!!!
How come this happens? It seems I'm missing something very basic and i
mportant.
Thank you for your time and help.
Regards,
JAVIER
Attachments:
1_This_is_the_working_solution.vi 20 KB
2_Why_does_this_doesnt_work.vi 24 KBHi,
actually you don't need to add elements continiously to each other or to the array.
The basic solution is to form the appropriate array and insert it into your array.
I have made the example.
Good luck.
Olrg Chutko.
Attachments:
Solution3.vi 20 KB -
iif I import a photo into my website and make it a small size then when I create a slideshow and add that photo from my computer it comes in too small every time. It's as though Muze is optimizing the original photo and that is very frustrating. I have to open that photo in Photoshop and save it again to fix it. Very annoying. Will this be fixed?
Muse does not touch the original image, but it does maintain an optimized copy of the original. You can verify by locking the original image file to prevent Muse from touching it.
Muse performs the optimization at export/publish time based on the largest instance of the image in the project. In this case, when you re-import the image, Muse is incorrectly assuming you want the new image at the same size as the first instance that you resized smaller. We'll look at fixing this behavior in the next release, but in the mean time there is a workaround.
Instead of opening the image in Photoshop and re-saving, which changes the modification date of the image and signals Muse to re-import the image, try double-clicking until the image is selected. The selection handles will be smaller and solid if you have the image selected. The handles will be larger and hollow if a container is selected. Then resize the image to the dimensions you want. Initially, the image will be pixelated because Muse is still using the previously optimized copy. However, if you choose File->Preview Page in Browser, the image will be re-optimized for the new dimensions and you should see a higher resolution version in both the browser and on your page within Muse.
You can more easily verify the optimization behavior as follows:
1. Place an image at 25% of its original size.
2. Select File->Preview Page in Browser, which will optimize the image at the 25% size.
3. Duplicate the placed image and resize the duplicate to be twice as big (i.e. 50% of the original). Initially, this duplicate will be blurry after the resize.
4. Select File->Preview Page in Browser, which will re-optimize the image and redraw at the higher resolution. -
Adobe: How to print the documents more than once with different data.
Hi Experts,
I have a requirement to print the document of minimum 5 employee's at a time.
First we are displaying the list of employee's and then the user is provided an option to select the employee's and print their details.
A form has been created. We are able to print the document for a single employee. But now the requirement is to select multiple employee's and print their details at one time.
I am able to get the contents all the employee's in an internal table. But i am not getting to combine the contents together and print the document.
So could some one help me how to get the contents of all the selected employee's and print the document's.
Thanks.I don't understand whether you want to print several different documents in a row each with an employee or one pdf document with several employees in it.
If you want to print one document with multiple employees inside, then you have to recode your PDF to be able to handle a table containing each employee data.
If you want to print multiple pdf documents each containing one employee info, then this is done in abap. [see BC480]
i.e.
DATA:
gt_customers TYPE TABLE OF scustom,
gs_customer LIKE LINE OF gt_customers,
gt_bookings TYPE ty_bookings, "table of sbook
gt_sums TYPE flprice_t,
gv_image_url TYPE string,
gv_fm_name TYPE rs38l_fnam,
* parameters for calling the generated function module
gs_docparams TYPE sfpdocparams,
gs_outputparams TYPE sfpoutputparams,
Event START-OF-SELECTION:
* Please note that the error handling implemented here is very
* rudimentary!
*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
* Get name of the generated function module
TRY.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = pa_form
IMPORTING
e_funcname = gv_fm_name.
CATCH cx_root.
MESSAGE e004 WITH pa_form.
* No active form &1 available
ENDTRY.
*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
* Optional: Set output parameters
gs_outputparams-nodialog = space.
gs_outputparams-preview = 'X'.
gs_outputparams-dest = pa_prnt.
*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
* Open print job
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = gs_outputparams
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e020.
* Form processing could not be started
ENDIF.
LOOP AT gt_customers INTO gs_customer.
* Set form language and country (->form locale)
gs_docparams-langu = pa_lang.
gs_docparams-country = pa_cntry.
PERFORM find_bookings_for_customer.
*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
* Now call the generated function module
CALL FUNCTION gv_fm_name
EXPORTING
/1bcdwb/docparams = gs_docparams
is_customer = gs_customer
it_bookings = gt_bookings
it_sums = gt_sums
iv_image_url = gv_image_url
iv_sending_country = pa_cntry
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e021.
ENDIF.
ENDLOOP.
*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
* Close spool job
CALL FUNCTION 'FP_JOB_CLOSE'.
In the above pay attention to the loop.
Cheers, -
R6031 attempt to initialize the crt more than once
I am getting this runtime error frequently in my Windows 10 test environment.
I am running it on a Xenserver 6.4 environment, so it may be something with the drivers there, but wanted to see if anyone else has this issue.
So far I have seen it with chrome (didn't see it with the latest beta), and office 2013, however 2010 worked fine.
This is a new fresh built VM.I'm having the same issue on VMWare 5.1. I could install Chrome just fine and then when I installed XenDesktop 7.1 on the VM I tried to installing Chrome on my domain admin account (instead of local admin) and received the error you described.
I've also gotten the error on IBM Client Access and a few other programs I've tested.
I wonder if the issue is Citrix related. -
Restrict the receipt of same serial number more than once
Hi,
I want to restrict the same serial number to be taken in the stock more than once..
Can somebody guide how to acheive this..
At the same time I have the indicator set of auto creation of serial numbers at the time of goods receipt in serial number profile.
e.g. I posted 2 material documents (101) one with material A and another with material B with the same serial number S
when I check the serial number S in transaction code IQ03, it is showing against 2 mat. codes. I dont want this scenario to occur.IN IQ03 , you have to put both the material number and serial number.
The serial number is tied to material number. Hence, different material number can have the same serial number. -
Button/click box click more than once
Hi, I'm hoping you guys can point out what I'm doing wrong...
I have an image where the user can click on certain parts of
it to display a callout. However, I want them to be able to click
on the area of the image more than once if requried. I suppose you
can say it's a bit like an image map.
First I used click boxes to achieve this, then I tried using
transparent buttons. However for both of these methods you can only
click on each part once during playback. Clicking again does not
show the callout.
I thought about copying the contents to another slide and add
a 'Reset' button the user could click on. This would move to the
other slide, but this seems a bit on the 'clunky' side, so I
thought there must be a setting or something really obvious that I
have missed. I was unable to find the relevant informaiton in the
help file or elsewhere in the forum, so if it does exist I would
appreciate someone pointing me in the right direction.
How can I allow the user to click on parts of the image more
than once to show the callout?
Thanks for your help,
LizThanks for your reply Rick.
I started the activity using rollovers, but I wanted the user
to do something more definite than just hovering over each part of
the image. So essentially, I want the rollover functionality but
with the ability to click instead of just hovering the cursor over.
I thought this would be easy!
I've tried using both buttons and click boxes without any
success. I ventured a little into slidelets, but I want the callout
to appear in a very specific place and this did not appear to
satisfy my requirements. The 'click to stick' sounds intriguing so
I'll take a look into this, but I'm not convinced it's what I want.
Any more suggestions are most welcome.
Regards
Liz -
Heading level hierarchy errors when topics are in TOC more than once
I have discovered that the hierarchy in the Heading levels in
the Printed Documentation will differ from than in my online help
table of contents hierarchy, and that the problem is due to topics
that are intentionally in the TOC more than once.
For example, in chapter 5 of a particular help system the
hierarchy should be:
Heading 1 < Chapter 5 title from top-level book>
Heading 2 <title of second level book>
Heading 3 <title of topic that appears under second-level
book>*
What I actually get is:
Heading 1 < Chapter title from top-level book>
Heading 2 <title of second level book>
Heading 4 <title of topic that appears under second-level
book>*
* This same topic appeared in an earlier chapter. In that
chapter it was really at a Heading 4 level.
Due to company styles, etc. we use a numbering system at the
headings and in the TOC, so instead of
5
5.1
5.1.1
I erroneously get
5
5.1
5.1.1.1
This type of hierarchy issue appears multiple times in this
particular document (which I inherited by the way.)
Other than restructuring the document to not reuse topics in
different places in the TOC, is there a solution or a workaround
for this problem?
What I am doing so far, is generating the Print Documentation
one chapter at a time. As long as a topic is not reused with the
same chapter, my hierarchy of heading levels is maintained;
otherwise, it is not. Then I can put the chapters back together
after fixing the few places that still have heading level problems.
This however, will be quite cumbersome as this document is
translated into nine other languages.
I am using RoboHelp X5 for Word / Word 2003 for the source
and most of the translations; RoboHelp Asian Edition, Simplified
Chinese / Word 2003 for the Chinese translation. The heading level
hierarchy error occurs in both versions.>> AF: I've commented in sections...
Without Maintain Heading Levels, RH will apply heading levels
to the books and then the topic levels will get bumped down. So a
top level book will be Heading 1 and the Headings in the topic will
get bumped down to 2, 3 and 4 etc. If then you have another book
one level down so that it gets Heading 2 applied, the same topic
but under the level two book would then get 3, 4 and 5 applied.
That is not the original problem but hopefully we are agreed
that is how things work on that.
>> Yes - that is the expected behavior. When it didn't
happen as expected, that's what led me to the discovery of the
cause of the problem (topic reuse).
Your problem was that firstly Heading 3 got bumped to Heading
4 if the same topic was inserted into the TOC twice. I assume it
was OK in the first instance, or is it that when you add it twice
it goes wrong everywhere?
>> Your assumption is correct. First occurrence is
correct. Second, third, and fourth (yes - there is one topic that
is used 4 times! ) are not correct based on TOC hierarchy.
On the numbering, nothing surprises me. If you look at my
site you will see that for RH HTML, i gave up on getting it right.
I have had many queries on this and more than a few people have
indicated they will work on the problem and get it working. I'm
still waiting. There are many posts about outline numbering
problems. Has anyone got it working satisfactorily?
>> I don't really have numbering problems. The
numbering is following the RoboHelp-generated hierarchy and the
.dot template that I apply. It's just that the RH-generated
hierarchy and its heading levels don't correspond to the "real"
hierarchy because of the reuse issue.
I have seen various Word gurus maintain that numbering has
not worked entirely satisfactorily since Word 2! Also enough posts
to convince me this is a Word issue, not a RH issue.
If you want to create a new project and knock something up
that demonstrates this problem, by all means zip it up and send it.
I'll assume it will be a small project and zip to less than 5mb. If
more, contact me first.
>> Unless you have RoboHelp X3 Asian Edition,
Simplified Chinese, there is really no need. I plan to either avoid
the reuse issue in the source, or build the print doc in sections
which is easy enough in RoboHelp X5 for the non-Chinese languages.
It is in the older Asian edition where the problems are compounded
by the omitted reuse topics. If you do have RoboHelp X3 Asian
Edition, Simplified Chinese and want to experiment, I can send you
a cut-down version of the project. Don't feel obligated though;
unless you can read Chinese (I can't) it is very tedious to work
with. -
Use of same filed more than once in module pool program.
hi Good day,
i want to use a filed on the screen more than once.
ex : T7EHS00_EXA_PHY-UNIT
the reason why i want to use this field more than once is b'coz it has SEARCH HELP.
If i use this filed search help is created internally.
to be more specific :
i have
screen field screen field
xys unit of meas.
abc unit of meas.
def unit of meas
ghi unit of meas.
jkl unit of meas.
but SAP Does not accept the same field more than once.
in this case what can i do?
thank you,
J.Hi Jacob,
use like this....
data : i1 type T7EHS00_EXA_PHY-UNIT ,
i2 type T7EHS00_EXA_PHY-UNIT,
i3 type T7EHS00_EXA_PHY-UNIT,
i4 type T7EHS00_EXA_PHY-UNIT.
In the screen properties,
Give search Help-----> H_T006
Declare the name in program as given to IO filed name...
Hope you Understood...
Regards,
Vijay SR -
Is it possible to open a form created with screen painter more than once?
I have created a form with the screen painter. In the screen painter the form is assigned a FormUID. Probably because this is done, it is impossible to open the form more than once??
Thanks,
Kind regardsHi J.
The answer is yes You just have to give your form a unique id.
1) Give your form in screen painter a name like BTWO_DYNAMIC_UID (just plain text).
2) Make sure your <i>FormType</i> and <i>appformnumber</i> have a unique number (i.e. 2000060001). You can do this in the xml source.
3) By loading your document replace the BTWO_DYNAMIC_UID with an unique id. I have a counter that's a member of my class and increase that number to get a unique id (BTWO_F_1, BTWO_F_2 etc)
I have added a code sample, SBOApplication is my SAP application object and mFormNumber is a member (integer) of my class.
<i>Succes d'r mee, en als 't nie lukt hoor ik het wel... ;)</i>
<b>Code (C#):</b>
// New xml document
XmlDocument oXmlDoc = new XmlDocument();
private Form LoadUniqueForm(string AMyFile)
// Define your path to
sPath = @"Forms" + AMyFile;
// Load the form
oXmlDoc.Load(sPath);
// Replace the string with an unique id
mFormNumber++;
string sXML = oXmlDoc.InnerXml.Replace("BTWO_DYNAMIC_UID", "BTWO_F_" + mFormNumber.ToString());
// load the XML file in SAP
SBOApplication.LoadBatchActions(ref sXML);
// Return the form
return SBOApplication.Forms.Item("BTWO_F_" + mFormNumber.ToString()); -
Hello All -
I am trying to add a user to a SharePoint site using PowerShell like below:-
New-SPUser -UserAlias MyDomain\jan20a -Web http://SPServer/sites/MySite
If I execute the above more than once, SharePoint does not throw that user already exists or something. This is not the same behavior in AD/Exchange PowerShell cmdlets.
Also, even the client object model behaves the same way.
Another interesting thing I noticed, I tried to remove a user from group in which the user was not part of it at all and still no error..!!
Looks like SharePoint does not care of invalid input and just ignores it.
Can anyone please confirm this and also the reason behind it ?It's not really invalid input, since the user exists and that is how SharePoint behaves (will behave same way in browser). Try to input a user that and misspell the name, e.g. say you didn't have a MyDomain\Jan21a, then try to use same script above,
only with invalid data. It will bark at you. Or try using a web that it cannot find, one that does not exist. You'll get what I like to call, the red badge of courage if you enter invalid data.
you can test that sharepoint will let you enter a user twice in the browser, and nothing bad comes from it. Powershell is just unable to tell that the user was not in the site, when you removed it the second time.
Hope that confirms it, if it does please mark this reply accordingly. thanks
Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com
Maybe you are looking for
-
Webcam Live - Unable to capture Video when "audio" is on
Unable to capture Video when "audio" is checked. Error message "Unable to capture Video - check settings for video compressor and Audio compressor". What are these ?? I have Plantronics headset and have tried most "8bit, mono settings" Capture Video
-
In ME21N,User Exit/BADI for Defaulting Vendor number at item level.
Hi Experts. In ME21N, for every purchase order, we have condtion tab for each line item. Many condition typesot taxes are listed based on the config for the materials. My requirements is, When we go inside by selecting a condition type we find vendo
-
File to IDOC (content conversion)
Hi, My scenario is File to IDOC. My input file is as "AAA",399,"DD",20050302,100642,3289 "B01","E",20051,39.1,"AC","M","L" "B01","L",20051,38.3,"AC","F","D" "B01","L",20301,37.7,"AC","F","W" "L9",50 wherein the structure should look as follows: <root
-
PPro CC says "the file has an unsupported compression type" in one project only - .mts files
Had to re-install Ppro CC to alleviate some plugin issues. Now, one of my projects that is comprised mostly of AVCHD files(.mts) are offline, and when I attempt to relink, I get the "the file has an unsupported compression type" message. But, all oth
-
At co11n in goods movement screen material not showing
hi all, when i m doing co11n n going to goods movement screen it not showing material and its quantity though after the confirmation material deducted from its stock, plz help me in this matter