I am using RedHawk 1.9. I have an out port which I plan to send string data across it. In the overview panel in the IDE I add a port with BULKIO dataChar type. When I try the following:
std::string cmd = "testCmd";
this->dataChar->pushPacket( cmd.str(), bulkio::time::utils::now(),
false, this->ar8200CmdStream_id);
I am getting a error message that indicates pushPacket is wanting std::vector versus char *. This looks like the approach taken in the manual.
Did I pick the wrong BULKIO type for string? I thought about using dataXML, but I expected that was expecting XML format.
PS: I noticed the manual does not include a time in the pushPacket call.