How do you write today in idoc script
Hi,
I am trying to compare date. Can anyone help me on how to write today.
Eg: <!--$if xEventEnd-->
What I'm trying to do is if xEventEnd is less than today, do not display content.
Thank you,
Can someone tell me how to compare date?
<!--$if xEventEnd >= dateCurrent()-->
xEventEnd is the meta data field for end date.
Am I doing something wrong in this?
Thank you,
Similar Messages
-
How to manipulate the date in idoc scripting?
how can we manipulate date in idoc scripting? How to retrieve the year, month, date from the date? How can we update the year of the particular date in idoc scripting.
There are a bunch of date / time functions that you can find in chapter 5 of the Idoc Script Reference (the bible for this sort of thing)
For the sort of things you need to do I would recommend you look at formatDateWithPattern()
for example to retrieve the year of 'now'
<$year = formatDateWithPattern(dateCurrent(),"yyyy")$>
month
<$month = formatDateWithPattern(dateCurrent(),"MMM")$>
the patterns for the same rules as Java date formats (unsurprisingly)
If you want to update the year then I think you need to build the date as a string and the use the parseDate or parseDateWithPattern functions to actually create something that Idoc will recognise as a date object.
Tim -
How do you write sideways in Pages?????
How do you write sideways in pages w/ the page upright?
This awesome tip solved my issue; it works with graphics, too. Thanks very much!!!!!!!
Create a text box, type what you want in it, then
rotate it using the Inspector (Select the text box,
go to the "metrics" tab of the inspector, and rotate
it with the little wheel). -
How do you write on the documents useing using work space
how do you write on the documents using work space
What type of documents are you trying to write on?
-
RoboHelp 11
When previewing topics from within the project, a script error diplays: 'HHComponent Activator' is undefined.
How do you get rid of this script error?Hi there
Have you tried clicking Help > Updates and applying the service release?
If not, I'd start with that.
Cheers... Rick -
How do you write UNDO for a text item?? examples? or a REDO??
How do you write UNDO for a text item?? examples? or a REDO??
I created a pop-up menu with CUT, COPY, PASTE, UNDO, CLEAR for my text items.
Using MAGIC menu type works great but there is no MAGIC for UNDO or REDO.....
How do you write UNDO for a text item?? examples? or a REDO??
I have Oracle Forms 6i...
Lets say I highlight all the text in the text item, and start typing over it... then I realize OH NO it is the wrong text field...
Now I want to UNDO the typing and get back to the previous text.
I'd use the initial value that was populate right? How do I access that if that is correct?
Thanks, BillYou can use;
<ITEM> := Get_Item_Property(<ITEM>,DATABASE_VALUE);
Or you will have to write a pre-text-item trigger;
PRE-TEXT-ITEM:
:CTRL.CURRENT_VAL := :<BLOCK>.<ITEM>
MENU (PL/SQL):
:<BLOCK>.<ITEM> := :CTRL.CURRENT_VAL;
You may also want to set the item property back to ITEM_IS_VALID so that item validation does not fire again. -
How do you write a deterministic clause?
How do you write / code a deterministic clause? I was told to use it instead of Target buckets
Thanks,This is my target_bucket function. I have been trying to create a rewrite enabled materialized view and I have been able to do that. I was told to use a deterministic clause to be able to make the code into a re-write enable materialized view.
THIS IS THE TARGET BUCKET CODE / FUNCTION.
GRP_OR_BCKT_IN CHAR, -- 'G' or 'B'
PTD_OR_RESV_IN CHAR, -- 'P' or 'R'
CLM_KIND_IN CHAR,
CODE_IN CHAR,
PTD_1 NUMBER,
PTD_2 NUMBER,
PTD_3 NUMBER,
PTD_4 NUMBER,
PTD_5 NUMBER,
PTD_6 NUMBER,
PTD_7 NUMBER,
PTD_8 NUMBER,
PTD_9 NUMBER)
RETURN NUMBER IS
TEMP NUMBER := 0;
BEGIN
SELECT /*+ INDEX(INDICATOR_SUM IDX_INDICATOR_SUM_GRP)*/
SUM(DECODE(INDICATOR_SUM.INDICATOR,
1, PTD_1,
2, PTD_2,
3, PTD_3,
4, PTD_4,
5, PTD_5,
6, PTD_6,
7, PTD_7,
8, PTD_8,
9, PTD_9,
0)) INTO TEMP
FROM INDICATOR_SUM WHERE
INDICATOR_SUM.GRP_OR_BCKT = GRP_OR_BCKT_IN AND
INDICATOR_SUM.PTD_OR_RESV = PTD_OR_RESV_IN AND
INDICATOR_SUM.CLM_KIND = CLM_KIND_IN AND
INDICATOR_SUM.CODE = CODE_IN;
RETURN NVL(TEMP,0);
EXCEPTION
WHEN OTHERS THEN
RETURN 0;
END;
This is what I've been trying to do with no LUCK AT ALL.
CREATE MATERIALIZED VIEW M_reserve
TABLESPACE mviews_TS
BUILD IMMEDIATE
Enable query rewrite
AS
SELECT
Reserve.clm_seq_id_fk as clm_seq_id,
PID.PID_NBR AS PARENT_ID,
PID.PID_NAME AS PID_NAME,
ACCT.ACCT_NBR AS ACCOUNT_NBR,
ACCT.ACCT_NAME AS ACCOUNT_NAME,
CLAIM_1.CLM_NBR AS CLAIM_NBR,
CLAIM_1.CLM_SUFFIX AS CLAIM_SUFFIX,
ACCT_LOI.LOI AS LOI,
CLAIM_1.CLM_KIND AS CLAIM_KIND,
CLAIM_1.ST_CLM_NBR AS STATE_CLAIM_NBR,
ACCT_LOI.RISK_NBR AS RISK_NBR,
ACCT_LEVEL1.LEVEL_1 AS LOCATION_1,
ACCT_LEVEL1.LEVEL_NAME AS LOCATION_1_NAME,
ACCT_LEVEL2.LEVEL_2 AS LOCATION_2,
ACCT_LEVEL2.LEVEL_NAME AS LOCATION_2_NAME,
ACCT_LEVEL3.LEVEL_3 AS LOCATION_3,
ACCT_LEVEL3.LEVEL_NAME AS LOCATION_3_NAME,
ACCT_LEVEL4.LEVEL_4 AS LOCATION_4,
ACCT_LEVEL4.LEVEL_NAME AS LOCATION_4_NAME,
ACCT_LEVEL5.LEVEL_5 AS LOCATION_5,
ACCT_LEVEL5.LEVEL_NAME AS LOCATION_5_NAME,
SERV_OFC.SERV_OFC AS SERV_OFC,
SERV_OFC.SERV_OFC_NAME AS SERV_OFC_NAME,
CLAIM_1.BEN_ST AS BENEFIT_ST,
CLAIM_1.CLM_TYPE AS CLAIM_TYPE,
CLAIM_1.OPN_CLSD AS OPEN_CLOSED,
SUBSTR(CLAIM_1.CLM_STAT,1,5) AS CLAIM_STATUS,
CLAIM_1.CLMT_LST_NAME AS CLMNT_LAST_NAME,
CLAIM_1.CLMT_FIRST_NAME AS CLMNT_FIRST_NAME,
CLAIM_1.CLMT_MID_INIT AS CLMNT_MIDDLE_INITIAL,
CLAIM_2.CLMT_ADDR1 AS CLMNT_ADDR1,
CLAIM_2.CLMT_ADDR2 AS CLMNT_ADDR2,
CLAIM_2.CLMT_CITY AS CLMNT_CITY,
CLAIM_2.CLMT_ST AS CLMNT_ST,
CLAIM_2.CLMT_ZIP_CD AS CLMNT_ZIP_CD,
CLAIM_2.CLMT_CNTRY AS CLMNT_CNTRY,
CLAIM_1.CLMT_SSN AS CLMNT_SSN,
CLAIM_1.DT_INJ AS DATE_OF_INJURY,
CLAIM_1.DT_RPT_EMPLR AS DATE_RPT_TO_EMPLOYER,
CLAIM_1.DT_RECV AS DATE_RCVD_BY_GMCD,
CLAIM_1.DT_INPT AS DATE_CLAIM_ENTERED,
CLAIM_1.DT_CLSD AS DATE_CLAIM_CLOSED,
CLAIM_1.DT_LST_ACTVY AS DATE_OF_LAST_ACTIVITY,
CLAIM_1.DT_REOPN AS DATE_REOPENED,
CLAIM_1.INJ_CAUSE AS INJ_CAUSE_CD,
IJCA_DESC.TBL_DESC AS INJ_CAUSE_DESC,
CLAIM_1.PART_OF_BODY AS POB_CD,
IJPB_DESC.TBL_DESC AS POB_DESC,
CLAIM_1.NATR AS INJ_NATURE_CD,
IJNT_DESC.TBL_DESC AS INJ_NATURE_DESC,
CLAIM_1.AGCY AS AGENCY_CD,
AGAL_DESC.TBL_DESC AS AGENCY_DESC,
CLAIM_1.MANL_CLSR_REQR AS MANUAL_CLASS_NBR,
CLAIM_1.REC_ONLY AS RECORD_ONLY_FLAG,
CLAIM_1.SEX AS SEX,
NVL(DECODE(CLAIM_1.AGE,0,NULL,CLAIM_1.AGE),
TRUNC((CLAIM_1.DT_INJ - CLAIM_1.DT_BIRTH) / 365.25))
AS AGE,
CLAIM_1.TIME_EMPLD AS TIME_EMPLOYED,
CLAIM_1.DT_MED_TO_INDM AS DATE_MED_CHG_TO_IND,
CLAIM_1.DT_INDM_TO_MED AS DATE_IND_CHG_TO_MED,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'200',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_MEDICAL,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'201',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_INDEMNITY,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'202',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_EXPENSES,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'203',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_RECOVERABLE,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'204',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_PROPERTY_DAMAGE,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'205',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_BODILY_INJURY,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'206',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_OTHER,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'207',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_CONTENTS,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'208',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_STRUCTURES,
TARGET_BUCKET('G','R',
DECODE(PID.CONV_FLAG,'Y',CLAIM_1.CLM_KIND,'WC00'),
'209',
RESERVE.RESV_1,
RESERVE.RESV_2,
RESERVE.RESV_3,
RESERVE.RESV_4,
RESERVE.RESV_5,
RESERVE.RESV_6,
RESERVE.RESV_7,
RESERVE.RESV_8,
RESERVE.RESV_9) AS RESV_RECOVERY,
CLAIM_1.DT_DEATH AS DATE_OF_DEATH,
CLAIM_1.INJ_CLASS_CD AS INJ_CLASS_CD,
ICLA_DESC.TBL_DESC AS INJ_CLASS_DESC,
CLAIM_1.OCCUP_CD AS OCCUPATION_CD,
CLAIM_1.OCCUP AS OCCUPATION_DESC,
CLAIM_1.NATR_OF_INJ AS INJ_NATURE,
CLAIM_1.ACCD_DESC AS ACCIDENT_DESC,
RESERVE.DT_INPT AS DATE_RESERVE_ENTERED,
RESERVE.TIME_INPT AS TIME_RESERVE_ENTERED,
RESERVE.RESV_OTH_DESC AS RESV_OTH_DESC,
ASSOCIATE.HP_LOGON AS FIELD_OFFICE,
ASSOCIATE.USER_LST_NAME AS EXAMINER_LAST_NAME,
ASSOCIATE.USER_FIRST_NAME AS EXAMINER_FIRST_NAME,
ASSOCIATE.SUPV AS EXAMINERS_SUPERVISER,
ASSOCIATE.MGR AS EXAMINERS_MANAGER,
CLAIM_1.BUS_UNIT AS BUSINESS_UNIT,
CLAIM_1.CLM_CLASS AS CLAIM_CLASS,
CLAIM_1.NURSE_RESP AS NURSE_RESPONSIBLE,
CLAIM_2.EMPL_NBR AS EMPL_NBR
FROM
ACCT,
ACCT_LOI,
PID,
INCIDENT,
CLAIM_1,
CLAIM_2,
ACCT_LEVEL1,
ACCT_LEVEL2,
ACCT_LEVEL3,
ACCT_LEVEL4,
ACCT_LEVEL5,
RESERVE,
SERV_OFC,
ASSOCIATE,
AGAL_DESC,
IJCA_DESC,
ICLA_DESC,
IJNT_DESC,
IJPB_DESC
WHERE
CLAIM_1.OPN_CLSD <> 'Z' AND
PID.PID_SEQ_ID = ACCT.PID_SEQ_ID_FK AND
ACCT.ACCT_SEQ_ID = ACCT_LOI.ACCT_SEQ_ID_FK AND
INCIDENT.ACCT_LOI_SEQ_ID_FK(+) = ACCT_LOI.ACCT_LOI_SEQ_ID AND
CLAIM_1.INC_SEQ_ID_FK(+) = INCIDENT.INC_SEQ_ID AND
CLAIM_2.CLM_SEQ_ID_FK = CLAIM_1.CLM_SEQ_ID AND
RESERVE.CLM_SEQ_ID_FK(+) = CLAIM_1.CLM_SEQ_ID AND
SERV_OFC.SERV_OFC_SEQ_ID = CLAIM_1.SERV_OFC_SEQ_ID_FK AND
ACCT_LEVEL1.LEVEL1_SEQ_ID(+) = CLAIM_1.LEVEL1_SEQ_ID_FK AND
ACCT_LEVEL2.LEVEL2_SEQ_ID(+) = CLAIM_1.LEVEL2_SEQ_ID_FK AND
ACCT_LEVEL3.LEVEL3_SEQ_ID(+) = CLAIM_1.LEVEL3_SEQ_ID_FK AND
ACCT_LEVEL4.LEVEL4_SEQ_ID(+) = CLAIM_1.LEVEL4_SEQ_ID_FK AND
ACCT_LEVEL5.LEVEL5_SEQ_ID(+) = CLAIM_1.LEVEL5_SEQ_ID_FK AND
ASSOCIATE.PROCS_UN(+) = CLAIM_1.EXAMR_RESP AND
ASSOCIATE.SERV_OFC_SEQ_ID_FK(+) = CLAIM_1.SERV_OFC_SEQ_ID_FK AND
(AGAL_DESC.TBL_TYPE = ACCT_LOI.AGCY_CD_TBL OR
AGAL_DESC.TBL_TYPE IS NULL) AND
AGAL_DESC.TBL_CD(+) = CLAIM_1.AGCY AND
ICLA_DESC.TBL_CD (+) = CLAIM_1.INJ_CLASS_CD AND
IJCA_DESC.TBL_CD (+) = CLAIM_1.INJ_CAUSE AND
IJNT_DESC.TBL_CD (+) = CLAIM_1.NATR AND
IJPB_DESC.TBL_CD (+) = CLAIM_1.PART_OF_BODY ; -
hi all,
what is your preferred way to handle statements exceptions:
try {
Statement stm = conn.createStatement();
try {
// execute statements
conn.commit();
} catch (SQLException sqle) {
// handle error
conn.rollback();
} finally {
stm.close();
} catch (SQLException sqle) {
// handle error again ?
}or ...
Statement stm = null;
try {
stm = conn.createStatement();
// execute statements
conn.commit();
} catch (SQLException sqle) {
// handle error
try {conn.rollback();}catch(SQLException sqle){/*nothing here ?*/}
} finally {
if (stm!=null)
try {stm.close();}catch(SQLException sqle){/*nothing here ?*/}
}or something else ? ...
thanksMiksi tämä sähköpostiviesti on tullut minun osoitteeseen? Eikä tämä ole ensimmäinen kerta kun minulle tulee väärin postia. Miltä tämä sinusta tuntuu?
Terv. Seppo
Date: Thu, 22 Jul 2010 10:27:47 -0600
From: [email protected]
To: [email protected]
Subject: Re: how do you write
Hi Sandy,
Acrobat Pro 9 is an excellent tool for creating and distributing forms; however, if a form was created in Acrobat and enabled for completion, you should be able to fill it out using Adobe Reader. As not all forms are enabled in this way, you won't be able to complete all forms digitally. For more information about Acrobat Pro, please refer to the product information page:
http://www.adobe.com/products/acrobatpro/
If you're using Windows, you can also download a free 30-day trial of Acrobat from right here:
http://www.adobe.com/products/acrobatpro/tryout.html
(Unfortunately, there is no Mac trial available at this time).
I also encourage you to stay tuned to changes taking place at Acrobat.com over the next several months; you may find that they'll be interesting to you.
Best regards,
Rebecca
> -
How do you write an image threshold to a file
Hi, I use IMAQ threshold to threshold an RGB image. How do I write this image to a file? Whenever I use the IMAQ Write JPG or Write PNG vI and try to view the file with the windows image viewer all I see is a black image. Does anyone know how to save a binary image?
If you cast it to an eight bit image and save it as a BMP or JPEG does it show up correctly? If so the problem probably lies in the fact that a 16-bit image in LabVIEW is signed, while third party viewers usually assume that it is unsigned. So rather than pixel values going from -32766 to 32767, they go from 0 to 65536. There are example programs on ni.com to get around this. One is called "Mapping a 16-bit Image to an 8-bit Image," another is called "Bit Shift an IMAQ Vision 12-bit Image and Resave for External Viewer." If you search for these titles on the ni.com search bar, you should be able to find them.
Kyle V -
How would you assign passwords in a script for a user
How would i assign a password in script??
the only way to "automate" password/user additions is to use expect - to allow you to input some meaningful password - stdin doesn't work too well as you've probably seen
Alternatively you can find the crypted value for some password and use that in a cut and paste fashion into the /etc/shadow file (as root obviously) but there are some limitations...
i.e.
echo "${newuserid}:x:${uid}:${gid}:${GCOS}:${homedir}:${usershell}" >> /etc/passwd
echo "${newuserid}:${cryptedpasswd}:0:7:90::::" >> /etc/shadow
this means that you have basically one password you're assigning to each new user, which may or may not be what you're digging after.
If you can figure out how to crypt the password (with the appropriate salt) so it fits into the /etc/shadow crypted format, you'd have your problem solved. -
How would you write a "wildcard" in a filefilter?
How would you go about to have a wildcard instead of the "*" in the following filefilter;
File[] files = new File("./resultat/resultat_" + "*" + "_" + index[0]).listFiles (new FileFilter () {
public boolean accept (File file) {
return ! file.isDirectory ();
});All help appriciated
- Karl XIIShouldn't "a*" accept all files that begins with "a" and ends with whatever?No. "*" in regexp is a not a wildcard match. Instead it matches one or more instances of the preceeding
value.
Therefore "a*" will match "a", "aa", "aaa", "aaaa" etc but will not match anything which does not end in
an "a".
The following might help you out. (not the most elegent expression but it will do
import java.util.regex.*;
public class RegExp{
public static void main(String[] args) {
Pattern p = Pattern.compile("a*b");
Matcher m = p.matcher("aaaab");
System.out.println(m.matches());
// interesting bit here
// match one or more occurances of any characters in the ASCII charset (the \\p{ASCII}* bit
p = Pattern.compile("hello_\\p{ASCII}*_b");
m = p.matcher("hello_wibble_b");
System.out.println(m.matches());
} -
How can you write over the other JTablecells while putting in information
like windows excel when you write in a cell and you get to the border everything covers the other cells... when you press enter the string is in the textfield. But with the default settings of JTable or is it the DefaultTableEditor or the DefaultTableRenderer i don't know, when you write someting in a cell and get to the border everything is pushed to the left...i don't like that...
Can someone help me here?
thanks in advanceHello Tim,
thanks for your response. Meanwhile I found out, that in fact things work fine. I "tested" the outputfile in opening it with the Notepad editor. That was not the proper way to do it. Making a file dump, I saw that everything was alright. So if one wants to work on such a file with the editor, one should use the Writer classes.
Regards
Joerg -
How do you write a file involving the changes in application engine?
Hi Guys,
I have a requirement in app engine.
I have to update a table based on the changes occured in other tables.
I have to show the user old value and new updated value in the log file how do I write a file for below fields?
Old Value: Name:Rock|SSN:0000000|Address:675478
New Value Name: Roger|SSN:0000000|Address:908765
Thanks and regards,Hi ,
My Requirement is Quite different here.
I cannot use CI.i have to implement in app engine.
Below explained:
I have data coming from abc table and populating into xyz table.
So if any field in abc gets changed which is extracted and populated in the xyz table.I have to show the old field value of xyz and the new field values of abc which I am going to insert into the xyz.
My log file should have both the values.
how do I write both the values and update it:
say I have value from abc.id=12 and xyz.id=12
when we update abc.id=13 and xyz.id=14
I have to print
old record details:
id=12
New record details:
id=13
somerthing of above sort
Thanks and Regards -
How do you write a VI that receives a voltage from Labjack U12?
I'm using LJ U12 as my DAQ, on my laptop i've plugged in two U12, and after writing one VI, i'm able to control a voltage 1-5V to one of my U12 (say U12A), which is able to recieve it, and then i've wired the analog output AO0 to the other U12's (say U12B) AI0. Now i would like to have a separate VI for U12B that is able to recieve and display the voltage from U12A, how do you go about writing this separate VI.
So basically i'm using one computer and forming a loop, the need of doing so is to simulate U12B as my hardware (e.g control valve) and U12A as my console (e.g computer)
With Regards
Wormwood
*Note: as attached is the VI that i've written to give voltages.
Attachments:
Labjack AO.vi 17 KBFirst, if you have not already, check out the following topic from the LabJack forum about getting started with the U12 in LabVIEW:
http://www.labjack.com/forums/index.php?showtopic=84
The first thing you should do is run our sample application LJconfig.exe, and assign each U12 a unique local ID. Say #2 and #3. Then you pass a 2 or 3 for the IDNum parameter for each function to specify which U12 you are talking to.
The attached example uses the easy functions with IDNum = -1, which means first found. You would just replace the -1 with a 2 or 3.
Attachments:
e function example.vi 41 KB -
Many times a day I need to access "Batch" and "Image Processor" in Bridge.
There is no shortcut, so I have to go the Tools-Photoshop-Batch and Tools-Photoshop-Image Processor menu - the items I need are locked into a second level menu.
Which is impractical.
I remember, when I started out with Photoshop many years ago, I downloaded "Deke Keyes" from Deke McClelland, which included keystrokes for "Batch" and "Image Processor".
From the Bridge forum I learned that you cannot assign shortcuts in Bridge CS6.
So the general opinon was that a script was used to assign the shortcuts.
Could you please tell me how to do that?
Thanks!
PS: I tried to assign shortcuts via the Mac OS X Mountain Lion keyboard preferences (applications), but it did not work.Hi,
in the exit:Event of the 1st date field add this FormCalc script:
DateField2 = Num2Date(Date2Num($.formattedValue, "DD.MM.YYYY") + 21, "DD.MM.YYYY")
You may have to change th date pattern "DD.MM.YYYY" in the way you need it.
Maybe you are looking for
-
Excise duty in the Pricing Procedure for Local Purchase / Importation
Hi, I'd like to know how to set up the pricing procedure for the purchase of an IS Oil Material; for local purchase and importation, especially with regards to the excise duty posting. Local purchase: the vendor will bill us inclusive of the ED tax
-
Can losing connection with an external drive lead to its failure?
My iTunes library is currently wireless, through my Airport Extreme, so I can use it both with my Macbook Air and my iMac. Of course the downside is only one computer can access it at a time and I'm limited by the range of the Airport, but it works f
-
Not Yet Documented ADF Ex 9 Dynamically Binding to Dynamically Created View
I have dynamically created a View Object and would like to build a dynamic HTML Table on a web page based upon my view. I think something similar is done in Steve Muench's sample #9. My problem is I am new to ADF and the example was done in an earlie
-
Mail on iPhone and MBP tells me my password is incorrect ...
... but I know it's the correct one. The Mail server has been changed (to something with a "99" in it). This is totally strange -- I've used iCloud and MobileMe for a long time, and I've never experienced this problem on every machine. Is Apple worki
-
Hi there, Recently, all the photographs in Photos disappeared. Now when I open Photos it's like its a new program. When I close it, it will not close and has to be forced to close every time. 3 Things: 1. Are my photos still on my computer somewher