Sending string to automation controller

I am developing an interface for controlling my house. The
controller Can recognize URL encoded commands. My test button
worked flawlessly using get URL function, but returns with opening
a new browser and displaying the results. So I have been trying
load vars. I created a texfile with the Command embedded. The
controller needs to see the URL encoding, but looking at the output
panel trace,flash Strips the encoding when it loads the text.So I
have "double encoded" the text file and it looks good with the
exception of a few spaces. My action Script is as follows:
Frame
quad = new LoadVars ();
quad.load("quadbutton.txt");
quad.onLoad = function (success) {
if (success) {
trace (" variables loaded ");
for( var prop in this ) {
trace (" key " + prop + " = " + this[prop]);
} else {
trace (" Error loading variables ");
Resulting output
variables loaded
key sendcommand.cgi?var1 =
%23%23%25286C0685F509010100&var2=str&var3=%23%230
key onLoad = [type Function]
the spaces before and after l=l @ var 1 are a concern.
Here is the text from the quadbutton.txt file that is
loading:
&sendcommand.cgi?var1=%2523%2523%2525286C0685F509010100%26var2=str%26var3=%2523%25230
Finally the button in the frame:
Button
on (release) {quad.send("
http://my_website.com:9876/");}
It does not work, what gives?

Thank you for helping. I tried what you Said, and I think
that I realized what the underlying problem is. As crazy as it
seems the Controller only uses "partially" encoded URL's. This is
exactly, character for character what the Controller expects to
see:
http://my_website:9876/sendcommand.cgi?var1=%23%23%25286C0685F509010100&var2=str&var3=%23% 23%250
Now why the # and % are encoded but the & and = are not
is beyond me. I Contacted the manufacturer and they were not Sure
why. But the Combination of characters URL encoded and not is
wreaking havoc with LoadVars. I was trying to accomplish this
without calls to movie clips, extra data retrieval functions, etc.
which is what I understand you have to do with Load Variables. Am I
totally wrong here? The load.newvars and escape functions are
encoding the & and = throwing the String off.
once again, thanks for your help Kglad, Zach

Similar Messages

  • How to send string data through socket!

    Is there any method to send string data over socket.
    and if client send string data to server,
    How to get that data in server?
    Comments please!

    Thank for your kind answer, stoopidboi.
    I solved the ploblem. ^^;
    I open the source code ^^; wow~~~~~!
    It will useful to many people. I spend almost 3 days to solve this problem.
    The program works like this.
    Client side // string data ------------------------> Server side // saving file
    To
    < Server Side >
    * Server.java
    * Auther : [email protected]
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Server extends JFrame
         private JTextField enter;
         private JTextArea display;
         ObjectInputStream input;
         DataOutputStream output;
         FileOutputStream resultFile;
         DataInputStream inputd;
         public Server(){
              super("Server");
              Container c = getContentPane();
              enter = new JTextField();
              enter.setEnabled(false);
              enter.addActionListener(
                   new ActionListener(){
                        public void actionPerformed(ActionEvent ev){
                             //None
              c.add(enter, BorderLayout.NORTH);
              display = new JTextArea();
              c.add(new JScrollPane(display),
                     BorderLayout.CENTER);
              setSize(300, 150);
              show();
         public void runServer(){
              ServerSocket server;
              Socket connection;
              int counter = 1;
              display.setText("");
              try{
                   server = new ServerSocket(8800, 100);
                   while(true){
                        display.append("Waiting for connection\n");
                        connection = server.accept();
                        display.append( counter + " connection is ok.\n");
                        display.append("Connection " + counter +
                             "received from: " + connection.getInetAddress().getHostName());
                        resultFile = new FileOutputStream("hi.txt");
                        output = new DataOutputStream(resultFile);
                        output.flush();
                        inputd = new DataInputStream(
                             connection.getInputStream()
                        display.append("\nGod I/O stream, I/O is opened\n");
                        enter.setEnabled(true);
                        try{
                             while(true){
                                  output.write(inputd.readByte());
                        catch(NullPointerException e){
                             display.append("Null pointer Exception");
                        catch(IOException e){
                             display.append("\nIOException Occured!");
                        if(resultFile != null){
                             resultFile.flush();
                             resultFile.close();
                        display.append("\nUser Terminate connection");
                        enter.setEnabled(false);
                        resultFile.close();
                        inputd.close();
                        output.close();
                        connection.close();
                        ++counter;
              catch(EOFException eof){
                   System.out.println("Client Terminate Connection");
              catch(IOException io){
                   io.printStackTrace();
              display.append("File is created!");
         public static void main(String[] args){
              Server app = new Server();
              app.addWindowListener(
                   new WindowAdapter(){
                        public void windowClosing(WindowEvent e){
                             System.exit(0);
              app.runServer();
    < Client side >
    * Client.java
    * Auther : [email protected]
    package Client;
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Client extends JFrame
         private JTextField enter;
         private JTextArea display;
         DataOutputStream output;
         String message = "";
         public Client(){
              super("Client");
              Container c = getContentPane();
              enter = new JTextField();
              enter.setEnabled(false);
              enter.addActionListener(
                   new ActionListener(){
                        public void actionPerformed(ActionEvent e){
                             //None
              c.add(enter, BorderLayout.NORTH);
              display = new JTextArea();
              c.add(new JScrollPane(display), BorderLayout.CENTER);
              message = message + "TT0102LO12312OB23423PO2323123423423423423" +
                        "MO234234LS2423346234LM2342341234ME23423423RQ12313123213" +
                        "SR234234234234IU234234234234OR12312312WQ123123123XD1231232" +
                   "Addednewlinehere\nwowowowwoww";
              setSize(300, 150);
              show();
         public void runClient(){
              Socket client;
              try{
                   display.setText("Attemption Connection...\n");
                   client = new Socket(InetAddress.getByName("127.0.0.1"), 8800);
                   display.append("Connected to : = " +
                          client.getInetAddress().getHostName());
                   output = new DataOutputStream(
                        client.getOutputStream()
                   output.flush();
                   display.append("\nGot I/O Stream, Stream is opened!\n");
                   enter.setEnabled(true);
                   try{
                        output.writeBytes(message);
                   catch(IOException ev){
                        display.append("\nIOException occured!\n");
                   if(output != null) output.flush();
                   display.append("Closing connection.\n");
                   output.close();
                   client.close();
              catch(IOException ioe){
                   ioe.printStackTrace();
         public static void main(String[] args){
              Client app = new Client();
              app.addWindowListener(
                   new WindowAdapter(){
                        public void windowClosing(WindowEvent e){
                             System.exit(0);
              app.runClient();

  • Debugger Presets possible for Automation Controller?

    Hi,
    While debugging programs using controls it is important to set in the debugger settings the flag 'automation controller: always process requests synchronously'. I find it annoying that I have to set this flag every single time!
    Does anyone know if it is possible to preset this flag via set/get params or could think of any other way?
    (I know that it should only by used when necessary due to performance reasons though)
    Many thanks in advance
    Yours Johannes

    Hi Johannes!
    Give parameter AC_FLUSH_IT a try. Maybe result is the same, even when flag in debugger isn't switched on.
    Other automation controller parameter start with AC_, too.
    Debugger parameters start with DBG, but don't look promising.
    Regards,
    Christian

  • ABAP & OLE Automation Controller

    Hi everybody,
    When I use ABAP & OLE Automation Controller to build a Excel file, I don't find a documentation about the values of the properties parameters.
    For example:
    (DATA gs_cell TYPE ole2_object.)
    SET PROPERTY OF gs_cell  'HorizontalAlignment' = -4108 .
    I found in Visual Basic Editor all properties of the OLE objects. But the number -4108 remains a mystery for me.
    Where can we find this value ?
    I tried to read the official Microsoft and ABAP documentation without success.
    Can you help me ?
    I thank you in advance.
    Patrocle

    Hi,
    I use http://msdn.microsoft.com/en-us/library/ms262200.aspx site
    In the documentation for Range.HorizontalAlignment You can find it uses XlHAlign:
    http://msdn.microsoft.com/en-us/library/bb241313(v=office.12).aspx
    Name                    Value     Description
    xlHAlignCenter               -4108     Center.
    xlHAlignCenterAcrossSelection         7     Center across selection.
    xlHAlignDistributed          -4117     Distribute.
    xlHAlignFill                   5     Fill.
    xlHAlignGeneral                   1     Align according to data type.
    xlHAlignJustify               -4130     Justify.
    xlHAlignLeft               -4131     Left.
    xlHAlignRight               -4152     Right.
    Regards,
    Przemysław

  • Not Sure How To Send String

    I'm totally new to trying to network using Java and extremely poor at networking in general so bear with me here.
    I'm trying to make a top down shooter and currently the application allows the user to either play as host or connect to a host but all the network communication handling I'm doing involves creating strings, sending them along the connection and interpreting the strings on their reciept.
    The problem I'm having is I keep getting an unexpected end of file exception when it tries to read in the string.
    I used a basic IM application as an example of how to connect and send info in Java, which is where I got the idea to use in.readUTF and out.writeUTF to send string information but upon looking into this problem it seems to me that read/writeUTF is not really designed for strings and there should be something else I should use instead but I'm not sure what?
    Also I'm using this to communicate point information of each player and as I understand it I should be using TCP to do this as that was what the example I'm using said it used. Though I think it might be more useful to use UDP as it's faster and it shouldn't matter if I drop a packet or two, though I'm not sure where in my code it specifies a difference between the two and if that really is the best idea.
    Here's a zip of my netbeans project, though be warned it's VERY messy, probably the messiest code I've ever written, not to mention hacky as well: http://rapidshare.com/files/369943023/KerazehDood.zip
    Any help would be great.
    Thanks.
    Edited by: ThePermster on Mar 30, 2010 6:59 AM

    Thanks that seems to make much more sense, still having some troubles though.
    Ok so now the majority of it seems to be working and it seems to be sending the String just fine. And I'm having it send the String to the BufferedWriter "out" and then using the newLine() method to send a carriage return but the BufferedReader on "in" seems to not detect the carriage return.
    I have it doing a readLine() so that (as I understand it) it should be blocking, waiting until an end of line character so I assume each call of newLine() should have it pick up something but a quick breakpoint shows that it never stops blocking on readLine().
    I assume the connection is fine because the application running as server uses the socket object returned by the accept() method.
    Is there something I've perhaps misunderstood about the BufferedReader's readLine() method?
    Here's the new version of my netbeans project:
    http://rapidshare.com/files/371224512/KerazehDood.rar
    Also on a different line of questioning, I'm just wondering about socket convention.
    I was thinking it'd be useful in a game similar to what I'm attempting to make to not only send player position information but also client keypress information, I was just wondering, if you're doing something like that would it be frowned upon to use two separate ports? I think it would make the implementation far more legible and easy to structure but wasn't sure if applications usually try to stick to only one port or not.
    Thanks.
    Edited by: ThePermster on Apr 2, 2010 10:54 AM

  • Sending String Data of  64 kilo bytes to Remote Function Module

    Hi,
        I have an RFC call from JAVA and I need to send string data to the FM. The maximum size of the data that I can send from java is 64 kilo bytes (Functional requirement). I want to receive this data as a table's parameter in the FM. Table's parameter’s data type can only be structure's which are FLAT-LINED. So if I use STRNIG as the data type for receiving the data from JAVA the RFC doesn’t allow me (As this makes the structure NON FLAT LINED which RFC will not allow as data type for tables parameter). So I have to use some other data type like CHAR or LCHR. But the maximum size for CHAR and LCHR is around 32 kilo bytes. I need a way to receive 64 kilo bytes of data into the Function Module as a table’s parameter.
    Thanks in advance
    Sesh

    Hi!
    I think I was pretty near your problem. When talking about table fields, you could a 'parameter' -> field of your table parameter.
    Which type? String is out of question, because here length is variable, but you need a constant length definition. I just have a look into help of data, built in ABAP-types. Here C and N can have a length from 1 to 65535 - OK, not 64 KB but only 1 byte missing...
    ... just made a small test, there is a second border (for non-unicode systems): the total length of the structure can't exceed 65535. If you need additional fields, define a second table parameter and place your additional fields in a second table. You can't define a link field (would need some space), so you have to go for a '1st line of data matches 1st line of attributes'-definition.
    I'm still a little bit curious: what kind of data you are sending?
    Regards,
    Christian

  • How do I send strings over a TCP/IP LAN N/W

    I want to send string information over LANs which can be viewed on Hyperterminal in PCs on the N/W
    Pls help me out
    Solved!
    Go to Solution.

    Are you trying to broadcast a message on your LAN? If so you'd need to use UDP (since it's a connectionless protocol) and use the broadcast address for your subnet. You'd have to check with your network admin as to what that is, though it's probably x.x.x.255 or 255.255.255.255. TCP requires a connection so for TCP/IP you'd need to send the message to each individual IP address. Alternatively, if you're on Windows you could use the "net send" command using System Exec.

  • Get error 66, when try to use TCP vi send string to arduino

    I use TCP vi to send string to arduinos (arduino uno+ arduino wifi shield, and they have arduino code preloaded inside ) wirelessly through the router. Sometimes they can communicate well, the arduino receive the string send by the TCP vi. But sometimes, there will be an error 66 come out of TCP Write vi, so, labview loop will stop. Arduino will say "connection failed". And I have config the VI sever allow the arduino to access.
    Another thing I want to mention is, when I highlight the execution, the error will come out more frequently.

    Actually, they can communicate not only once, sometimes the VI can pass data several rounds, but suddenly the error 66 appears in TCP write, the loop will stop. And if I rerun the program, things happens again. can anybody tell me why the error come out? Thanks

  • How to send string with line feed to Agilent 33250A via COM1

    Agilent 33250A is a function generator. In HPERTERMINAL, when "Send line ends with line feeds" is enabled, simple strings make it work well, such as: "APPLQU", "OUTPUT ON", etc...
    But I can't make it work with .vi file. COM setting is correct because 33250A shows "remote" icon immediatly after string sent. It will respon "error" to any mismatched setting (e.g. 9600 vs 115200). So, the connection is there but it just doesn't respond to commands.
    I don't know why. The termination character is enabled in .vi
    I apprecite your help to make the .vi to send string just like the HYPERTERMINAL with 'line feeds'.
    Thank you very much.
    Jian
    Attachments:
    Serial_Communication.vi ‏40 KB
    Write2COM1.vi ‏22 KB

    From what I can see it looks like you are NOT specifying what termination character you want to use when you call the serial port init.
    When not otherwise specified, the port will be configured to use the default termination character which is a "carrige return" HEX 0A.
    Try wiring a "Line Feed" constant to the init VI.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Interfacin​g Siemens Desigo PXC Building Automation controller with LabVIEW

    Hello everyone,
    I am currently trying to interface Siemens building Automation controller Desigo PXC100-E.D http://www.buildingtechnologies.siemens.com/bt/glo​bal/en/buildingautomation-hvac/building-automation​...
    with LabVIEW using OPC servers. I had once interfaced the S7-300 PLC of Siemens with simatic step-7 software with LabVIEW but in this case I don't which driver should I select and don't know is it possible or not. If any one of you have similar sort of expierence please I need advice..
    Thanks
    Naqqash.
    Naqqash

    Hi,
    As you have described I've done the whole configuration. I am using MatrikonOPC for BACnet and as I've checked my device and the software are working properly. Now what I am trying to is that I am connecting the BACnet OPC server with LabVIEW so that the MatrikonOPC act as a connection layer between my device and LabVIEW. So that I will be able to change values directly from my LV vi. Now when I connect that Bacnet OPC with LabVIEW using the same procedure for PLC it gets connected because it is showing all the tags from the device. But after doing the whole procedure which is the same according to the tutorial 'connecting LV to any PLC using OPC' when I deploy the variables I am getting some error. I am attaching the screenshot of the error. Please let me know if I am doing any thing wrong.
    PS: I am using a virtual machine and I've tried the whole thing with the NI OPC servers as well according to the tutorial but still when i deploy variables I am getting this error.
    Naqqash
    Attachments:
    OPC_error.JPG ‏22 KB

  • Send String failed using socket

    Hi all,
    I have just finished a program which send a string client to the host server using simple socket. The program is developed using JBuilder9 and run well in winxp pro. When the same program run in linux (red hat), the host server can only see the connection and close. The string never receive in the server side. The problem is worked out like the following
    -create socket
    -create output stream using "PrintWriter"
    -send string
    -close socket
    Pls. comment on what I should do to debug this problem.
    Thanks,
    Peter

    Hi all,
    Thanks for your assistance. I have log down the following from linux using "tcpdump"
    13:16:48.218624 128.128.2.161.33083 > pmon-srv0.999: P 1:42(41) ack 1 win 5840 <nop,nop,timestamp 158365 0> (DF)
    13:16:48.219105 128.128.2.161.33083 > pmon-srv0.999: F 42:42(0) ack 1 win 5840 <nop,nop,timestamp 158365 0> (DF)
    13:16:48.219742 pmon-srv0.999 > 128.128.2.161.33083: . ack 43 win 64199 <nop,nop,timestamp 2471694 158365> (DF)
    13:16:48.219876 pmon-srv0.999 > 128.128.2.161.33083: F 1:1(0) ack 43 win 64199 <nop,nop,timestamp 2471694 158365> (DF)
    13:16:48.219894 128.128.2.161.33083 > pmon-srv0.999: . ack 2 win 5840 <nop,nop,timestamp 158365 2471694> (DF)
    13:17:59.746088 128.128.2.211.1633 > pmon-srv0.999: P 1:43(42) ack 1 win 17520 (DF)
    13:17:59.756047 128.128.2.211.1633 > pmon-srv0.999: F 43:43(0) ack 1 win 17520 (DF)
    13:17:59.756493 pmon-srv0.999 > 128.128.2.211.1633: . ack 44 win 64198 (DF)
    13:17:59.756989 pmon-srv0.999 > 128.128.2.211.1633: F 1:1(0) ack 44 win 64198 (DF)
    13:17:59.757103 128.128.2.211.1633 > pmon-srv0.999: . ack 2 win 17520 (DF)
    128.128.2.211 is the client in winxp pro
    128.128.2.161 is the client in linux
    pmon-srv is the server
    In the first line of each section, it shows that number of bytes have push to the server. I don't know what should I do next to solve the problem.
    Here is the source code
    public class pconnect {
    String ip_addr;
    String fromServer, toServer;
    int i,port;
    Socket pmSocket;
    BufferedReader pm_in;
    PrintWriter pm_out;
    public pconnect(String ip, int portno) {
    ip_addr=ip;
    port=portno;
    try {
    pmSocket = new Socket(ip_addr, port);
    pm_out = new PrintWriter( pmSocket.getOutputStream(), true );
    pm_in = new BufferedReader( new InputStreamReader( pmSocket.getInputStream() ) );
    } catch (Exception err) {
    System.err.println(err);
    System.exit(0);
    public void sendMsg(String msg) {
    try {
    Thread.sleep(5000);
    } catch (InterruptedException e){}
    if (pmSocket.isConnected()) {
    try {
    System.out.println("Stream Status: " + pmSocket.isOutputShutdown());
    System.out.println("Bound Status: " + pmSocket.isBound());
    pm_out.println(msg);
    if (pm_out.checkError()) {
    System.out.println("Socket error");
    }catch (Exception e){System.out.println("Exception: " + e);}
    try {
    pmSocket.close();
    } catch (Exception err) {
    System.err.println("Closed Error: "+err);
    public static void main(String[] args) {
    System.out.println(args.length);
    System.out.println(args[0]);
    pconnect pconnect1 = new pconnect(args[0],Integer.parseInt(args[1]));
    pconnect1.sendMsg("SET00000000N|ALARM:MBX TEST|c29K1920755D");
    Thanks,
    Peter

  • CNVString - Sending Strings from a PXI chassis over ethernet to a labWindows application on another computer

    I have a PXI chassis with a PXI-8101 controller. It is set up with a realtime operating system. I am communicating to it with a PC with a Windows operating system. I am trying to send variable length string messages from my PXI system to my PC.
    On the PC I have a LabWindows application which can send and receive data with the PXI system. I am attempting to send error messages from the PXI system to the PC on ethernet. I am able to send numerical data between them but not the string messages. The PXI software runs to the function call CNVCreateArrayDataValue() and steps into it but never returns. It only has this problem when the parameter CNVDataType is CNVString; when I change CNVDataType to CNVBool it does not have this problem. I am new to this PXI realtime so would appreciate the help. Below is the code on my PXI system which sends these text messages.
    In the beginning of RTMain I create the Writer
          CNVCreateBufferedWriter("\\\\localhost\\system\\" REG_CAL_ERROR_STRING, 0, 0, 0, 64, 5000, 0, &gErrorPublisher);
    Then I call a function with a string in the parameter list:
    void SendRT_ErrorMessage(char* message)
          CNVData data=0;
          int error;
          char error_str[256];
           int i;
          char out_str[ERROR_STRN_SIZE*4];
          strcpy(out_str,message);
          size_t arrayDims= ERROR_STRN_SIZE;
          arrayDims= strlen(message) +1;
          error = CNVCreateArrayDataValue(&data, CNVString, out_str, 1, &arrayDims);
          if(error<0)
                strncpy(error_str, CNVGetErrorDescription(error),256);
    //    CNVPutDataInBuffer(gErrorPublisher, data, 1000);
          CNVSetArrayDataValue(data,CNVString,out_str,1,&arrayDims);
          CNVPutDataInBuffer(gErrorPublisher, data, 1000);
          CNVDisposeData(data);
    Solved!
    Go to Solution.

    I've changed things around and now the application on the realtime operating system on the PXI-8101 does not hang but my host computer does not see the message correctly. It sees some characters but they are not what I sent.
    I don't seem to be able to get message out of CNVData data properly. Below is the new code for the PXI-8101 controller and the Host computer LabWindows application.
    Here is the code in the PXI-8101 controller now:
     CNVCreateWriter("\\\\localhost\\system\\" REG_CAL_ERROR_STRING, 0, 0, 5000, 0, &gErrorPublisher);
    void SendRT_ErrorMessage(char* message)
     CNVData data=0;
     int error;
     char error_str[256];
      int i;
     char out_str[ERROR_STRN_SIZE*4];
     strcpy(out_str,message);
     size_t arrayDims= ERROR_STRN_SIZE;
     arrayDims= strlen(message) +1;
     error = CNVCreateScalarDataValue( &data,CNVString,out_str); 
     if(error<0)
      strncpy(error_str, CNVGetErrorDescription(error),256);
     CNVWrite(gErrorPublisher, data, 1000);
     CNVDisposeData(data);
    And here is the code in the Host computer LabWindows application:
     sprintf(path, "\\\\%s\\system\\%s", address, REG_CAL_ERROR_STRING);
     CNVCreateSubscriber(path, ErrorMessageCallback, 0, 0, 10000, 0, &gErrorMessageSubscriber);
    static void CVICALLBACK ErrorMessageCallback(void * handle, CNVData data, void * callbackData)
     char message[ERROR_STRN_SIZE];
     CNVGetScalarDataValue(data,CNVString,(void *)message);
     (void)SetCtrlVal(panelHandle,PANEL_TEXTBOX_DEBUG_MSG,"got something\n");
     (void)SetCtrlVal(panelHandle,PANEL_TEXTBOX_DEBUG_MSG,message);
     (void)SetCtrlVal(panelHandle,PANEL_TEXTBOX_DEBUG_MSG,"\n");
     CNVDisposeData(data);
    You can see that I output a message "got something" so that I know I got the callback but the next line is a gibberish message "HÊl "

  • Sending Email Using Automator and Mail

    Every year I shave my head for a charity called St. Baldrick's. I raise money and then send pictures to all the people who donate to me shaving my head. I was wondering if there was a way to send a group of people an email with attachments in automator. Not only this but something special. Many email programs will mark something as spam if it is send to more then four people at a time. I would like to have an action or something in automator so that I can specify who to send it to and then have them sent as individual messages. This can be a real pain even if I were to copy and paste stuff. Is there a way to make my life easier so this doesn't take up so much time?

    I ran accross this randomly so sorry if this is irrelevent with timing. It seems however that Text Expander might be what you need. It is a mac program though, not ios.
    http://www.smilesoftware.com/TextExpander/

  • Send String[][] type to pl/sql procedure from function in App.module

    Hi,
    I use jdveloper 11.1.1.3.0
    I have a pl/sql procedure. the input type argument is 2-dimensional array(TAR) :
    types:
    create or replace TYPE ARRAYWEB as varray(160) of VARCHAR2(200);
    create or replace TYPE TAR as table of ARRAYWEB;
    Procedure:
    PROCEDURE testi(info IN TAR )
    I want to send type String[][] to this procedure from a function in Application module:
    1: String[][] str;
    2: CallableStatement plsqlBlock = null;
    3: String statement = "BEGIN testi(:1); END;";
    4: plsqlBlock = getDBTransaction().createCallableStatement(statement, 0);
    5: plsqlBlock.setArray(1, str); //get error
    6: plsqlBlock.executeUpdate();
    but in line 5 I don't know what type I should use, and this type(Array) doesn't work
    Habib

    Maybe this can help: http://www.devx.com/tips/Tip/22034
    Dario

  • GRC AC 10 EAM - Is it possible to send FF logs to controller in an email as attachment ?

    Hello,
    I am new to GRC AC 10 and wanted to check if In GRC AC 10 it is possible to send the Firefighter logs to Controller in an email as an attachment like we were doing in 5.3 or the controller has to login to GRC (via link in the email or direct login to GRC) to view ?
    Mark

    Hello Colleen,
    Thanks for your reply.
    I am using most of these parameters for my FF set up and it is working as expected however I am not able to get the logs in an email as an attachment like we used to get in AC 5.3 .
    In NWBC as well we have 3 options for controller-
    Email       - Controller receives the email with link to GRC action logs - No "Submit " button to approve
    Workflow - Controller receives the email with link to GRC action logs - Gets "Submit" button to approve
    Log Display - No email , Need to manually generate the logs.
    Do you know specific parameter settings or any other way to achieve this.
    Regards
    Ritu Rawat

Maybe you are looking for